public class SimpleRule extends Rule implements com.sun.xml.bind.Locatable
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"/>
<element ref="{http://www.dmg.org/PMML-4_1}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_1}NUMBER" />
<attribute name="nbCorrect" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="confidence" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="weight" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Double |
confidence |
protected List<Extension> |
extensions |
protected String |
id |
protected Locator |
locator |
protected Double |
nbCorrect |
protected Predicate |
predicate |
protected Double |
recordCount |
protected String |
score |
protected List<ScoreDistribution> |
scoreDistributions |
protected Double |
weight |
| Constructor and Description |
|---|
SimpleRule()
Deprecated.
|
SimpleRule(String score) |
| Modifier and Type | Method and Description |
|---|---|
Double |
getConfidence()
Gets the value of the confidence property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
String |
getId()
Gets the value of the id property.
|
Double |
getNbCorrect()
Gets the value of the nbCorrect property.
|
Predicate |
getPredicate()
Gets the value of the predicate 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.
|
Double |
getWeight()
Gets the value of the weight property.
|
void |
setConfidence(Double value)
Sets the value of the confidence property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setNbCorrect(Double value)
Sets the value of the nbCorrect property.
|
void |
setPredicate(Predicate value)
Sets the value of the predicate property.
|
void |
setRecordCount(Double value)
Sets the value of the recordCount property.
|
void |
setScore(String value)
Sets the value of the score property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setWeight(Double value)
Sets the value of the weight property.
|
Locator |
sourceLocation() |
protected Predicate predicate
protected List<ScoreDistribution> scoreDistributions
protected String id
protected String score
protected Double recordCount
protected Double nbCorrect
protected Double confidence
protected Double weight
protected Locator locator
@Deprecated public SimpleRule()
public SimpleRule(String score)
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 Predicate getPredicate()
getPredicate in class RuleSimplePredicate
CompoundPredicate
SimpleSetPredicate
True
Falsepublic void setPredicate(Predicate value)
setPredicate in class Rulevalue - allowed object is
SimplePredicate
CompoundPredicate
SimpleSetPredicate
True
Falsepublic 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()
public void setId(String value)
public 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
Doublepublic Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectCopyright © 2013 University of Tartu. All Rights Reserved.