org.dmg.pmml.pmml_4_1.descr
Class RuleSet

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

public class RuleSet
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"/>
         <element ref="{http://www.dmg.org/PMML-4_1}RuleSelectionMethod" maxOccurs="unbounded"/>
         <element ref="{http://www.dmg.org/PMML-4_1}ScoreDistribution" maxOccurs="unbounded" minOccurs="0"/>
         <group ref="{http://www.dmg.org/PMML-4_1}Rule" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="recordCount" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
       <attribute name="nbCorrect" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
       <attribute name="defaultScore" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="defaultConfidence" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Double defaultConfidence
           
protected  String defaultScore
           
protected  List<Extension> extensions
           
protected  Double nbCorrect
           
protected  Double recordCount
           
protected  List<RuleSelectionMethod> ruleSelectionMethods
           
protected  List<ScoreDistribution> scoreDistributions
           
protected  List<Object> simpleRulesAndCompoundRules
           
 
Constructor Summary
RuleSet()
           
 
Method Summary
 Double getDefaultConfidence()
          Gets the value of the defaultConfidence property.
 String getDefaultScore()
          Gets the value of the defaultScore property.
 List<Extension> getExtensions()
          Gets the value of the extensions property.
 Double getNbCorrect()
          Gets the value of the nbCorrect property.
 Double getRecordCount()
          Gets the value of the recordCount property.
 List<RuleSelectionMethod> getRuleSelectionMethods()
          Gets the value of the ruleSelectionMethods property.
 List<ScoreDistribution> getScoreDistributions()
          Gets the value of the scoreDistributions property.
 List<Object> getSimpleRulesAndCompoundRules()
          Gets the value of the simpleRulesAndCompoundRules property.
 void setDefaultConfidence(Double value)
          Sets the value of the defaultConfidence property.
 void setDefaultScore(String value)
          Sets the value of the defaultScore property.
 void setNbCorrect(Double value)
          Sets the value of the nbCorrect property.
 void setRecordCount(Double value)
          Sets the value of the recordCount property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extensions

protected List<Extension> extensions

ruleSelectionMethods

protected List<RuleSelectionMethod> ruleSelectionMethods

scoreDistributions

protected List<ScoreDistribution> scoreDistributions

simpleRulesAndCompoundRules

protected List<Object> simpleRulesAndCompoundRules

recordCount

protected Double recordCount

nbCorrect

protected Double nbCorrect

defaultScore

protected String defaultScore

defaultConfidence

protected Double defaultConfidence
Constructor Detail

RuleSet

public RuleSet()
Method Detail

getExtensions

public List<Extension> getExtensions()
Gets the value of the extensions 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 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


getRuleSelectionMethods

public List<RuleSelectionMethod> getRuleSelectionMethods()
Gets the value of the ruleSelectionMethods 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 ruleSelectionMethods property.

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

    getRuleSelectionMethods().add(newItem);
 

Objects of the following type(s) are allowed in the list RuleSelectionMethod


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


getSimpleRulesAndCompoundRules

public List<Object> getSimpleRulesAndCompoundRules()
Gets the value of the simpleRulesAndCompoundRules 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 simpleRulesAndCompoundRules property.

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

    getSimpleRulesAndCompoundRules().add(newItem);
 

Objects of the following type(s) are allowed in the list CompoundRule SimpleRule


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

getNbCorrect

public Double getNbCorrect()
Gets the value of the nbCorrect property.

Returns:
possible object is Double

setNbCorrect

public void setNbCorrect(Double value)
Sets the value of the nbCorrect property.

Parameters:
value - allowed object is Double

getDefaultScore

public String getDefaultScore()
Gets the value of the defaultScore property.

Returns:
possible object is String

setDefaultScore

public void setDefaultScore(String value)
Sets the value of the defaultScore property.

Parameters:
value - allowed object is String

getDefaultConfidence

public Double getDefaultConfidence()
Gets the value of the defaultConfidence property.

Returns:
possible object is Double

setDefaultConfidence

public void setDefaultConfidence(Double value)
Sets the value of the defaultConfidence property.

Parameters:
value - allowed object is Double


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