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>
| Constructor and Description |
|---|
Node() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Node |
addExtensions(Extension... extensions) |
Node |
addNodes(Node... nodes) |
Node |
addScoreDistributions(ScoreDistribution... scoreDistributions) |
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.
|
boolean |
hasExtensions() |
boolean |
hasNodes() |
boolean |
hasScoreDistributions() |
Node |
setDefaultChild(String defaultChild)
Sets the value of the defaultChild property.
|
Node |
setEmbeddedModel(EmbeddedModel embeddedModel)
Sets the value of the embeddedModel property.
|
Node |
setId(String id)
Sets the value of the id property.
|
Node |
setPartition(Partition partition)
Sets the value of the partition property.
|
Node |
setPredicate(Predicate predicate)
Sets the value of the predicate property.
|
Node |
setRecordCount(Double recordCount)
Sets the value of the recordCount property.
|
Node |
setScore(String score)
Sets the value of the score property.
|
getLocator, setLocatorpublic String getId()
public String getScore()
Stringpublic Node setScore(String score)
score - allowed object is
Stringpublic Double getRecordCount()
Doublepublic Node setRecordCount(Double recordCount)
recordCount - allowed object is
Doublepublic String getDefaultChild()
Stringpublic Node setDefaultChild(String defaultChild)
defaultChild - allowed object is
Stringpublic 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 Node setPredicate(Predicate predicate)
predicate - allowed object is
SimplePredicate
CompoundPredicate
SimpleSetPredicate
True
Falsepublic Partition getPartition()
Partitionpublic Node setPartition(Partition partition)
partition - 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 Node setEmbeddedModel(EmbeddedModel embeddedModel)
embeddedModel - allowed object is
Regression
DecisionTreepublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasScoreDistributions()
public Node addScoreDistributions(ScoreDistribution... scoreDistributions)
public boolean hasNodes()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.