public class Node
extends java.lang.Object
Java class for Node element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="Node"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/> <group ref="{http://www.dmg.org/PMML-4_1}PREDICATE"/> <choice> <sequence> <element ref="{http://www.dmg.org/PMML-4_1}Partition" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}ScoreDistribution" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}Node" maxOccurs="unbounded" minOccurs="0"/> </sequence> <group ref="{http://www.dmg.org/PMML-4_1}EmbeddedModel"/> </choice> </sequence> <attribute name="defaultChild" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="recordCount" type="{http://www.dmg.org/PMML-4_1}NUMBER" /> <attribute name="score" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element>
Constructor and Description |
---|
Node() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
getContent()
Gets the rest of the content model.
|
java.lang.String |
getDefaultChild()
Gets the value of the defaultChild property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.lang.Double |
getRecordCount()
Gets the value of the recordCount property.
|
java.lang.String |
getScore()
Gets the value of the score property.
|
void |
setDefaultChild(java.lang.String value)
Sets the value of the defaultChild property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setRecordCount(java.lang.Double value)
Sets the value of the recordCount property.
|
void |
setScore(java.lang.String value)
Sets the value of the score property.
|
public java.util.List<java.lang.Object> getContent()
You are getting this "catch-all" property because of the following reason: The field name "Extension" is used by two different parts of a schema. See: line 1845 of file:/home/david/workspace/weka/pmml-4-1.xsd line 1658 of file:/home/david/workspace/weka/pmml-4-1.xsd
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
Regression
SimpleSetPredicate
SimplePredicate
False
Node
ScoreDistribution
DecisionTree
True
CompoundPredicate
Extension
Partition
public java.lang.String getDefaultChild()
String
public void setDefaultChild(java.lang.String value)
value
- allowed object is
String
public java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String
public java.lang.Double getRecordCount()
Double
public void setRecordCount(java.lang.Double value)
value
- allowed object is
Double
public java.lang.String getScore()
String
public void setScore(java.lang.String value)
value
- allowed object is
String