|
Drools :: PMML - Compiler 6.2.0.CR3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dmg.pmml.pmml_4_2.descr.SimpleRule
public class SimpleRule
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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<group ref="{http://www.dmg.org/PMML-4_2}PREDICATE"/>
<element ref="{http://www.dmg.org/PMML-4_2}ScoreDistribution" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="score" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="recordCount" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
<attribute name="nbCorrect" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
<attribute name="confidence" type="{http://www.dmg.org/PMML-4_2}NUMBER" default="1" />
<attribute name="weight" type="{http://www.dmg.org/PMML-4_2}NUMBER" default="1" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected False |
_false
|
protected True |
_true
|
protected CompoundPredicate |
compoundPredicate
|
protected Double |
confidence
|
protected List<Extension> |
extensions
|
protected String |
id
|
protected Double |
nbCorrect
|
protected Double |
recordCount
|
protected String |
score
|
protected List<ScoreDistribution> |
scoreDistributions
|
protected SimplePredicate |
simplePredicate
|
protected SimpleSetPredicate |
simpleSetPredicate
|
protected Double |
weight
|
| Constructor Summary | |
|---|---|
SimpleRule()
|
|
| Method Summary | |
|---|---|
CompoundPredicate |
getCompoundPredicate()
Gets the value of the compoundPredicate property. |
double |
getConfidence()
Gets the value of the confidence property. |
List<Extension> |
getExtensions()
Gets the value of the extensions property. |
False |
getFalse()
Gets the value of the false property. |
String |
getId()
Gets the value of the id property. |
Double |
getNbCorrect()
Gets the value of the nbCorrect property. |
Double |
getRecordCount()
Gets the value of the recordCount property. |
String |
getScore()
Gets the value of the score property. |
List<ScoreDistribution> |
getScoreDistributions()
Gets the value of the scoreDistributions 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. |
double |
getWeight()
Gets the value of the weight property. |
void |
setCompoundPredicate(CompoundPredicate value)
Sets the value of the compoundPredicate property. |
void |
setConfidence(Double value)
Sets the value of the confidence property. |
void |
setFalse(False value)
Sets the value of the false property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setNbCorrect(Double value)
Sets the value of the nbCorrect property. |
void |
setRecordCount(Double value)
Sets the value of the recordCount property. |
void |
setScore(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(Double value)
Sets the value of the weight property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<Extension> extensions
protected False _false
protected True _true
protected SimpleSetPredicate simpleSetPredicate
protected CompoundPredicate compoundPredicate
protected SimplePredicate simplePredicate
protected List<ScoreDistribution> scoreDistributions
protected String id
protected String score
protected Double recordCount
protected Double nbCorrect
protected Double confidence
protected Double weight
| Constructor Detail |
|---|
public SimpleRule()
| Method Detail |
|---|
public List<Extension> getExtensions()
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
public False getFalse()
Falsepublic void setFalse(False value)
value - allowed object is
Falsepublic True getTrue()
Truepublic void setTrue(True value)
value - allowed object is
Truepublic SimpleSetPredicate getSimpleSetPredicate()
SimpleSetPredicatepublic void setSimpleSetPredicate(SimpleSetPredicate value)
value - allowed object is
SimpleSetPredicatepublic CompoundPredicate getCompoundPredicate()
CompoundPredicatepublic void setCompoundPredicate(CompoundPredicate value)
value - allowed object is
CompoundPredicatepublic SimplePredicate getSimplePredicate()
SimplePredicatepublic void setSimplePredicate(SimplePredicate value)
value - allowed object is
SimplePredicatepublic List<ScoreDistribution> getScoreDistributions()
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
public String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getScore()
Stringpublic void setScore(String value)
value - allowed object is
Stringpublic Double getRecordCount()
Doublepublic void setRecordCount(Double value)
value - allowed object is
Doublepublic Double getNbCorrect()
Doublepublic void setNbCorrect(Double value)
value - allowed object is
Doublepublic double getConfidence()
Doublepublic void setConfidence(Double value)
value - allowed object is
Doublepublic double getWeight()
Doublepublic void setWeight(Double value)
value - allowed object is
Double
|
Drools :: PMML - Compiler 6.2.0.CR3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||