Package org.dmg.pmml.tree
Class Node
- java.lang.Object
-
- org.dmg.pmml.PMMLObject
-
- org.dmg.pmml.Entity<Object>
-
- org.dmg.pmml.tree.Node
-
- All Implemented Interfaces:
Serializable,HasId<Entity<Object>,Object>,HasLocator,HasPredicate<Node>,HasRecordCount<Node>,HasScore<Node>,HasScoreDistributions<Node>,Visitable
- Direct Known Subclasses:
ComplexNode,SimpleNode
public abstract class Node extends Entity<Object> implements HasPredicate<Node>, HasRecordCount<Node>, HasScoreDistributions<Node>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeaddExtensions(Extension... extensions)NodeaddNodes(Node first)NodeaddNodes(Node... nodes)NodeaddNodes(Node first, Node second)NodeaddScoreDistributions(ScoreDistribution... scoreDistributions)ObjectgetDefaultChild()EmbeddedModelgetEmbeddedModel()List<Extension>getExtensions()ObjectgetId()List<Node>getNodes()PartitiongetPartition()NumbergetRecordCount()ObjectgetScore()List<ScoreDistribution>getScoreDistributions()booleanhasExtensions()booleanhasNodes()booleanhasScoreDistributions()ObjectrequireDefaultChild()NodesetDefaultChild(Object defaultChild)NodesetEmbeddedModel(EmbeddedModel embeddedModel)NodesetId(Object id)NodesetPartition(Partition partition)NodesetRecordCount(Number recordCount)NodesetScore(Object score)ComplexNodetoComplexNode()-
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 Object getId()
-
getRecordCount
public Number getRecordCount()
- Specified by:
getRecordCountin interfaceHasRecordCount<Node>
-
setRecordCount
public Node setRecordCount(Number recordCount)
- Specified by:
setRecordCountin interfaceHasRecordCount<Node>
-
requireDefaultChild
public Object requireDefaultChild()
-
getDefaultChild
public Object getDefaultChild()
-
hasExtensions
public boolean hasExtensions()
-
getPartition
public Partition getPartition()
-
hasScoreDistributions
public boolean hasScoreDistributions()
- Specified by:
hasScoreDistributionsin interfaceHasScoreDistributions<Node>
-
getScoreDistributions
public List<ScoreDistribution> getScoreDistributions()
- Specified by:
getScoreDistributionsin interfaceHasScoreDistributions<Node>
-
addScoreDistributions
public Node addScoreDistributions(ScoreDistribution... scoreDistributions)
- Specified by:
addScoreDistributionsin interfaceHasScoreDistributions<Node>
-
hasNodes
public boolean hasNodes()
-
getEmbeddedModel
public EmbeddedModel getEmbeddedModel()
-
setEmbeddedModel
public Node setEmbeddedModel(EmbeddedModel embeddedModel)
-
-