Package org.dmg.pmml.tree
Class Node
- java.lang.Object
-
- org.dmg.pmml.PMMLObject
-
- org.dmg.pmml.Entity<java.lang.Object>
-
- org.dmg.pmml.tree.Node
-
- All Implemented Interfaces:
java.io.Serializable,HasId<Entity<java.lang.Object>,java.lang.Object>,HasLocator,HasPredicate<Node>,HasRecordCount<Node>,HasScore<Node>,HasScoreDistributions<Node>,Visitable
- Direct Known Subclasses:
ComplexNode,SimpleNode
public abstract class Node extends Entity<java.lang.Object> implements HasPredicate<Node>, HasRecordCount<Node>, HasScoreDistributions<Node>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
-
Methods inherited from class org.dmg.pmml.PMMLObject
getLocator, getSchemaVersion, getSchemaVersion, hasLocator, setLocator
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dmg.pmml.HasPredicate
getPredicate, requirePredicate, requirePredicate, setPredicate
-
Methods inherited from interface org.dmg.pmml.HasScoreDistributions
requireScore
-
-
-
-
Method Detail
-
toComplexNode
public ComplexNode toComplexNode()
-
getId
public java.lang.Object getId()
-
setId
public Node setId(java.lang.Object id)
-
setScore
public Node setScore(java.lang.Object score)
-
getRecordCount
public java.lang.Number getRecordCount()
- Specified by:
getRecordCountin interfaceHasRecordCount<Node>
-
setRecordCount
public Node setRecordCount(java.lang.Number recordCount)
- Specified by:
setRecordCountin interfaceHasRecordCount<Node>
-
requireDefaultChild
public java.lang.Object requireDefaultChild()
-
getDefaultChild
public java.lang.Object getDefaultChild()
-
setDefaultChild
public Node setDefaultChild(java.lang.Object defaultChild)
-
hasExtensions
public boolean hasExtensions()
-
getExtensions
public java.util.List<Extension> getExtensions()
-
getPartition
public Partition getPartition()
-
hasScoreDistributions
public boolean hasScoreDistributions()
- Specified by:
hasScoreDistributionsin interfaceHasScoreDistributions<Node>
-
getScoreDistributions
public java.util.List<ScoreDistribution> getScoreDistributions()
- Specified by:
getScoreDistributionsin interfaceHasScoreDistributions<Node>
-
addScoreDistributions
public Node addScoreDistributions(ScoreDistribution... scoreDistributions)
- Specified by:
addScoreDistributionsin interfaceHasScoreDistributions<Node>
-
hasNodes
public boolean hasNodes()
-
getNodes
public java.util.List<Node> getNodes()
-
getEmbeddedModel
public EmbeddedModel getEmbeddedModel()
-
setEmbeddedModel
public Node setEmbeddedModel(EmbeddedModel embeddedModel)
-
-