org.dmg.pmml.pmml_4_1.descr
Class Node

java.lang.Object
  extended by org.dmg.pmml.pmml_4_1.descr.Node
All Implemented Interfaces:
Serializable

public class Node
extends Object
implements Serializable

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_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
         <group ref="{http://www.dmg.org/PMML-4_1}PREDICATE"/>
         <choice>
           <sequence>
             <element ref="{http://www.dmg.org/PMML-4_1}Partition" minOccurs="0"/>
             <element ref="{http://www.dmg.org/PMML-4_1}ScoreDistribution" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{http://www.dmg.org/PMML-4_1}Node" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <group ref="{http://www.dmg.org/PMML-4_1}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_1}NUMBER" />
       <attribute name="defaultChild" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  DecisionTree decisionTree
           
protected  String defaultChild
           
protected  List<Serializable> extensionsAndSimplePredicatesAndCompoundPredicates
           
protected  String id
           
protected  List<Node> nodes
           
protected  Partition partition
           
protected  Double recordCount
           
protected  Regression regression
           
protected  String score
           
protected  List<ScoreDistribution> scoreDistributions
           
 
Constructor Summary
Node()
           
 
Method Summary
 DecisionTree getDecisionTree()
          Gets the value of the decisionTree property.
 String getDefaultChild()
          Gets the value of the defaultChild property.
 List<Serializable> getExtensionsAndSimplePredicatesAndCompoundPredicates()
          Gets the value of the extensionsAndSimplePredicatesAndCompoundPredicates 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.
 Double getRecordCount()
          Gets the value of the recordCount property.
 Regression getRegression()
          Gets the value of the regression property.
 String getScore()
          Gets the value of the score property.
 List<ScoreDistribution> getScoreDistributions()
          Gets the value of the scoreDistributions property.
 void setDecisionTree(DecisionTree value)
          Sets the value of the decisionTree property.
 void setDefaultChild(String value)
          Sets the value of the defaultChild property.
 void setId(String value)
          Sets the value of the id property.
 void setPartition(Partition value)
          Sets the value of the partition property.
 void setRecordCount(Double value)
          Sets the value of the recordCount property.
 void setRegression(Regression value)
          Sets the value of the regression property.
 void setScore(String value)
          Sets the value of the score property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extensionsAndSimplePredicatesAndCompoundPredicates

protected List<Serializable> extensionsAndSimplePredicatesAndCompoundPredicates

decisionTree

protected DecisionTree decisionTree

regression

protected Regression regression

partition

protected Partition partition

scoreDistributions

protected List<ScoreDistribution> scoreDistributions

nodes

protected List<Node> nodes

id

protected String id

score

protected String score

recordCount

protected Double recordCount

defaultChild

protected String defaultChild
Constructor Detail

Node

public Node()
Method Detail

getExtensionsAndSimplePredicatesAndCompoundPredicates

public List<Serializable> getExtensionsAndSimplePredicatesAndCompoundPredicates()
Gets the value of the extensionsAndSimplePredicatesAndCompoundPredicates property.

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 extensionsAndSimplePredicatesAndCompoundPredicates property.

For example, to add a new item, do as follows:

    getExtensionsAndSimplePredicatesAndCompoundPredicates().add(newItem);
 

Objects of the following type(s) are allowed in the list False CompoundPredicate SimpleSetPredicate SimplePredicate True Extension


getDecisionTree

public DecisionTree getDecisionTree()
Gets the value of the decisionTree property.

Returns:
possible object is DecisionTree

setDecisionTree

public void setDecisionTree(DecisionTree value)
Sets the value of the decisionTree property.

Parameters:
value - allowed object is DecisionTree

getRegression

public Regression getRegression()
Gets the value of the regression property.

Returns:
possible object is Regression

setRegression

public void setRegression(Regression value)
Sets the value of the regression property.

Parameters:
value - allowed object is Regression

getPartition

public Partition getPartition()
Gets the value of the partition property.

Returns:
possible object is Partition

setPartition

public void setPartition(Partition value)
Sets the value of the partition property.

Parameters:
value - allowed object is Partition

getScoreDistributions

public List<ScoreDistribution> getScoreDistributions()
Gets the value of the scoreDistributions property.

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


getNodes

public List<Node> getNodes()
Gets the value of the nodes property.

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


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getScore

public String getScore()
Gets the value of the score property.

Returns:
possible object is String

setScore

public void setScore(String value)
Sets the value of the score property.

Parameters:
value - allowed object is String

getRecordCount

public Double getRecordCount()
Gets the value of the recordCount property.

Returns:
possible object is Double

setRecordCount

public void setRecordCount(Double value)
Sets the value of the recordCount property.

Parameters:
value - allowed object is Double

getDefaultChild

public String getDefaultChild()
Gets the value of the defaultChild property.

Returns:
possible object is String

setDefaultChild

public void setDefaultChild(String value)
Sets the value of the defaultChild property.

Parameters:
value - allowed object is String


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.