public class Node extends Entity implements HasExtensions, HasId
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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<group ref="{http://www.dmg.org/PMML-4_2}PREDICATE"/>
<choice>
<sequence>
<element ref="{http://www.dmg.org/PMML-4_2}Partition" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ScoreDistribution" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Node" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<group ref="{http://www.dmg.org/PMML-4_2}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_2}NUMBER" />
<attribute name="defaultChild" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
defaultChild |
protected EmbeddedModel |
embeddedModel |
protected java.util.List<Extension> |
extensions |
protected java.lang.String |
id |
protected java.util.List<Node> |
nodes |
protected Partition |
partition |
protected Predicate |
predicate |
protected java.lang.Double |
recordCount |
protected java.lang.String |
score |
protected java.util.List<ScoreDistribution> |
scoreDistributions |
| Constructor and Description |
|---|
Node() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.String |
getDefaultChild()
Gets the value of the defaultChild property.
|
EmbeddedModel |
getEmbeddedModel()
Gets the value of the embeddedModel property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.util.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.
|
java.lang.Double |
getRecordCount()
Gets the value of the recordCount property.
|
java.lang.String |
getScore()
Gets the value of the score property.
|
java.util.List<ScoreDistribution> |
getScoreDistributions()
Gets the value of the scoreDistributions property.
|
boolean |
hasExtensions() |
boolean |
hasNodes() |
boolean |
hasScoreDistributions() |
void |
setDefaultChild(java.lang.String value)
Sets the value of the defaultChild property.
|
void |
setEmbeddedModel(EmbeddedModel value)
Sets the value of the embeddedModel property.
|
void |
setId(java.lang.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(java.lang.Double value)
Sets the value of the recordCount property.
|
void |
setScore(java.lang.String value)
Sets the value of the score property.
|
Node |
withDefaultChild(java.lang.String value) |
Node |
withEmbeddedModel(EmbeddedModel value) |
Node |
withExtensions(java.util.Collection<Extension> values) |
Node |
withExtensions(Extension... values) |
Node |
withId(java.lang.String value) |
Node |
withNodes(java.util.Collection<Node> values) |
Node |
withNodes(Node... values) |
Node |
withPartition(Partition value) |
Node |
withPredicate(Predicate value) |
Node |
withRecordCount(java.lang.Double value) |
Node |
withScore(java.lang.String value) |
Node |
withScoreDistributions(java.util.Collection<ScoreDistribution> values) |
Node |
withScoreDistributions(ScoreDistribution... values) |
getLocator, setLocatorprotected java.lang.String id
protected java.lang.String score
protected java.lang.Double recordCount
protected java.lang.String defaultChild
protected java.util.List<Extension> extensions
protected Predicate predicate
protected Partition partition
protected java.util.List<ScoreDistribution> scoreDistributions
protected java.util.List<Node> nodes
protected EmbeddedModel embeddedModel
public java.lang.String getId()
public void setId(java.lang.String value)
public java.lang.String getScore()
Stringpublic void setScore(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Double getRecordCount()
Doublepublic void setRecordCount(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.String getDefaultChild()
Stringpublic void setDefaultChild(java.lang.String value)
value - allowed object is
Stringpublic java.util.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
getExtensions in interface HasExtensionspublic 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 java.util.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 java.util.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 Node withId(java.lang.String value)
public Node withScore(java.lang.String value)
public Node withRecordCount(java.lang.Double value)
public Node withDefaultChild(java.lang.String value)
public Node withScoreDistributions(ScoreDistribution... values)
public Node withScoreDistributions(java.util.Collection<ScoreDistribution> values)
public Node withEmbeddedModel(EmbeddedModel value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasScoreDistributions()
public boolean hasNodes()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.