public class Node extends Entity implements com.sun.xml.bind.Locatable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<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="id" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="score" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="recordCount" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="defaultChild" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultChild |
protected EmbeddedModel |
embeddedModel |
protected List<Extension> |
extensions |
protected String |
id |
protected Locator |
locator |
protected List<Node> |
nodes |
protected Partition |
partition |
protected Predicate |
predicate |
protected Double |
recordCount |
protected String |
score |
protected List<ScoreDistribution> |
scoreDistributions |
| Constructor and Description |
|---|
Node() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
String |
getDefaultChild()
Gets the value of the defaultChild property.
|
EmbeddedModel |
getEmbeddedModel()
Gets the value of the embeddedModel property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
String |
getId()
Gets the value of the id property.
|
List<Node> |
getNodes()
Gets the value of the nodes property.
|
Partition |
getPartition()
Gets the value of the partition property.
|
Predicate |
getPredicate()
Gets the value of the predicate property.
|
Double |
getRecordCount()
Gets the value of the recordCount property.
|
String |
getScore()
Gets the value of the score property.
|
List<ScoreDistribution> |
getScoreDistributions()
Gets the value of the scoreDistributions property.
|
void |
setDefaultChild(String value)
Sets the value of the defaultChild property.
|
void |
setEmbeddedModel(EmbeddedModel value)
Sets the value of the embeddedModel property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setPartition(Partition value)
Sets the value of the partition property.
|
void |
setPredicate(Predicate value)
Sets the value of the predicate property.
|
void |
setRecordCount(Double value)
Sets the value of the recordCount property.
|
void |
setScore(String value)
Sets the value of the score property.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
protected Predicate predicate
protected Partition partition
protected List<ScoreDistribution> scoreDistributions
protected EmbeddedModel embeddedModel
protected String id
protected String score
protected Double recordCount
protected String defaultChild
protected Locator locator
public List<Extension> getExtensions()
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 extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
public Predicate getPredicate()
SimplePredicate
CompoundPredicate
SimpleSetPredicate
True
Falsepublic void setPredicate(Predicate value)
value - allowed object is
SimplePredicate
CompoundPredicate
SimpleSetPredicate
True
Falsepublic Partition getPartition()
Partitionpublic void setPartition(Partition value)
value - allowed object is
Partitionpublic List<ScoreDistribution> getScoreDistributions()
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 scoreDistributions property.
For example, to add a new item, do as follows:
getScoreDistributions().add(newItem);
Objects of the following type(s) are allowed in the list
ScoreDistribution
public List<Node> getNodes()
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 nodes property.
For example, to add a new item, do as follows:
getNodes().add(newItem);
Objects of the following type(s) are allowed in the list
Node
public EmbeddedModel getEmbeddedModel()
Regression
DecisionTreepublic void setEmbeddedModel(EmbeddedModel value)
value - allowed object is
Regression
DecisionTreepublic String getId()
public void setId(String value)
public String getScore()
Stringpublic void setScore(String value)
value - allowed object is
Stringpublic Double getRecordCount()
Doublepublic void setRecordCount(Double value)
value - allowed object is
Doublepublic String getDefaultChild()
Stringpublic void setDefaultChild(String value)
value - allowed object is
Stringpublic Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2013 University of Tartu. All Rights Reserved.