public class SimpleRule
extends java.lang.Object
Java class for SimpleRule element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="SimpleRule"> <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"/> <element ref="{http://www.dmg.org/PMML-4_1}ScoreDistribution" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="confidence" type="{http://www.dmg.org/PMML-4_1}NUMBER" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="nbCorrect" type="{http://www.dmg.org/PMML-4_1}NUMBER" /> <attribute name="recordCount" type="{http://www.dmg.org/PMML-4_1}NUMBER" /> <attribute name="score" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="weight" type="{http://www.dmg.org/PMML-4_1}NUMBER" /> </restriction> </complexContent> </complexType> </element>
Constructor and Description |
---|
SimpleRule() |
Modifier and Type | Method and Description |
---|---|
CompoundPredicate |
getCompoundPredicate()
Gets the value of the compoundPredicate property.
|
java.lang.Double |
getConfidence()
Gets the value of the confidence property.
|
java.util.List<Extension> |
getExtension()
Gets the value of the extension property.
|
False |
getFalse()
Gets the value of the false property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.lang.Double |
getNbCorrect()
Gets the value of the nbCorrect property.
|
java.lang.Double |
getRecordCount()
Gets the value of the recordCount property.
|
java.lang.String |
getScore()
Gets the value of the score property.
|
java.util.List<ScoreDistribution> |
getScoreDistribution()
Gets the value of the scoreDistribution property.
|
SimplePredicate |
getSimplePredicate()
Gets the value of the simplePredicate property.
|
SimpleSetPredicate |
getSimpleSetPredicate()
Gets the value of the simpleSetPredicate property.
|
True |
getTrue()
Gets the value of the true property.
|
java.lang.Double |
getWeight()
Gets the value of the weight property.
|
void |
setCompoundPredicate(CompoundPredicate value)
Sets the value of the compoundPredicate property.
|
void |
setConfidence(java.lang.Double value)
Sets the value of the confidence property.
|
void |
setFalse(False value)
Sets the value of the false property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setNbCorrect(java.lang.Double value)
Sets the value of the nbCorrect property.
|
void |
setRecordCount(java.lang.Double value)
Sets the value of the recordCount property.
|
void |
setScore(java.lang.String value)
Sets the value of the score property.
|
void |
setSimplePredicate(SimplePredicate value)
Sets the value of the simplePredicate property.
|
void |
setSimpleSetPredicate(SimpleSetPredicate value)
Sets the value of the simpleSetPredicate property.
|
void |
setTrue(True value)
Sets the value of the true property.
|
void |
setWeight(java.lang.Double value)
Sets the value of the weight property.
|
public java.util.List<Extension> getExtension()
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 extension property.
For example, to add a new item, do as follows:
getExtension().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
public SimplePredicate getSimplePredicate()
SimplePredicate
public void setSimplePredicate(SimplePredicate value)
value
- allowed object is
SimplePredicate
public CompoundPredicate getCompoundPredicate()
CompoundPredicate
public void setCompoundPredicate(CompoundPredicate value)
value
- allowed object is
CompoundPredicate
public SimpleSetPredicate getSimpleSetPredicate()
SimpleSetPredicate
public void setSimpleSetPredicate(SimpleSetPredicate value)
value
- allowed object is
SimpleSetPredicate
public void setTrue(True value)
value
- allowed object is
True
public False getFalse()
False
public void setFalse(False value)
value
- allowed object is
False
public java.util.List<ScoreDistribution> getScoreDistribution()
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 scoreDistribution property.
For example, to add a new item, do as follows:
getScoreDistribution().add(newItem);
Objects of the following type(s) are allowed in the list
ScoreDistribution
public java.lang.Double getConfidence()
Double
public void setConfidence(java.lang.Double value)
value
- allowed object is
Double
public java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String
public java.lang.Double getNbCorrect()
Double
public void setNbCorrect(java.lang.Double value)
value
- allowed object is
Double
public java.lang.Double getRecordCount()
Double
public void setRecordCount(java.lang.Double value)
value
- allowed object is
Double
public java.lang.String getScore()
String
public void setScore(java.lang.String value)
value
- allowed object is
String
public java.lang.Double getWeight()
Double
public void setWeight(java.lang.Double value)
value
- allowed object is
Double