Package org.dmg.pmml.tree
Class ComplexNode
- java.lang.Object
-
- org.dmg.pmml.PMMLObject
-
- org.dmg.pmml.Entity<Object>
-
- org.dmg.pmml.tree.Node
-
- org.dmg.pmml.tree.ComplexNode
-
- All Implemented Interfaces:
Serializable,HasExtensions<ComplexNode>,HasId<Entity<Object>,Object>,HasLocator,HasPredicate<Node>,HasRecordCount<Node>,HasScore<Node>,HasScoreDistributions<Node>,Visitable
public class ComplexNode extends Node implements HasExtensions<ComplexNode>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComplexNode()ComplexNode(Object score, Predicate predicate)ComplexNode(Node 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
requirePredicate
-
-
-
-
Method Detail
-
getId
public Object getId()
-
setId
public ComplexNode setId(Object id)
-
requireScore
public Object requireScore()
- Specified by:
requireScorein interfaceHasScoreDistributions<Node>
-
getScore
public Object getScore()
-
setScore
public ComplexNode setScore(Object score)
-
getRecordCount
public Number getRecordCount()
- Specified by:
getRecordCountin interfaceHasRecordCount<Node>- Overrides:
getRecordCountin classNode
-
setRecordCount
public ComplexNode setRecordCount(Number recordCount)
- Specified by:
setRecordCountin interfaceHasRecordCount<Node>- Overrides:
setRecordCountin classNode
-
requireDefaultChild
public Object requireDefaultChild()
- Overrides:
requireDefaultChildin classNode
-
getDefaultChild
public Object getDefaultChild()
- Overrides:
getDefaultChildin classNode
-
setDefaultChild
public ComplexNode setDefaultChild(Object defaultChild)
- Overrides:
setDefaultChildin classNode
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceHasExtensions<ComplexNode>- Overrides:
hasExtensionsin classNode
-
getExtensions
public List<Extension> getExtensions()
- Specified by:
getExtensionsin interfaceHasExtensions<ComplexNode>- Overrides:
getExtensionsin classNode
-
addExtensions
public ComplexNode addExtensions(Extension... extensions)
- Specified by:
addExtensionsin interfaceHasExtensions<ComplexNode>- Overrides:
addExtensionsin classNode
-
requirePredicate
public Predicate requirePredicate()
- Specified by:
requirePredicatein interfaceHasPredicate<Node>
-
getPredicate
public Predicate getPredicate()
- Specified by:
getPredicatein interfaceHasPredicate<Node>
-
setPredicate
public ComplexNode setPredicate(Predicate predicate)
- Specified by:
setPredicatein interfaceHasPredicate<Node>
-
getPartition
public Partition getPartition()
- Overrides:
getPartitionin classNode
-
setPartition
public ComplexNode setPartition(Partition partition)
- Overrides:
setPartitionin classNode
-
hasScoreDistributions
public boolean hasScoreDistributions()
- Specified by:
hasScoreDistributionsin interfaceHasScoreDistributions<Node>- Overrides:
hasScoreDistributionsin classNode
-
getScoreDistributions
public List<ScoreDistribution> getScoreDistributions()
- Specified by:
getScoreDistributionsin interfaceHasScoreDistributions<Node>- Overrides:
getScoreDistributionsin classNode
-
addScoreDistributions
public ComplexNode addScoreDistributions(ScoreDistribution... scoreDistributions)
- Specified by:
addScoreDistributionsin interfaceHasScoreDistributions<Node>- Overrides:
addScoreDistributionsin classNode
-
addNodes
public ComplexNode addNodes(Node... nodes)
-
getEmbeddedModel
public EmbeddedModel getEmbeddedModel()
- Overrides:
getEmbeddedModelin classNode
-
setEmbeddedModel
public ComplexNode setEmbeddedModel(EmbeddedModel embeddedModel)
- Overrides:
setEmbeddedModelin classNode
-
toComplexNode
public ComplexNode toComplexNode()
- Overrides:
toComplexNodein classNode
-
accept
public VisitorAction accept(Visitor visitor)
-
-