Class Node
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the rest of the content model.Gets the value of the defaultChild property.getId()
Gets the value of the id property.Gets the value of the recordCount property.getScore()
Gets the value of the score property.void
setDefaultChild
(String value) Sets the value of the defaultChild property.void
Sets the value of the id property.void
setRecordCount
(Double value) Sets the value of the recordCount property.void
Sets the value of the score property.
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
getContent
Gets the rest of the content model.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
-
getDefaultChild
Gets the value of the defaultChild property.- Returns:
- possible object is
String
-
setDefaultChild
Sets the value of the defaultChild property.- Parameters:
value
- allowed object isString
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getRecordCount
Gets the value of the recordCount property.- Returns:
- possible object is
Double
-
setRecordCount
Sets the value of the recordCount property.- Parameters:
value
- allowed object isDouble
-
getScore
Gets the value of the score property.- Returns:
- possible object is
String
-
setScore
Sets the value of the score property.- Parameters:
value
- allowed object isString
-