public class CompoundRule 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"/>
<group ref="{http://www.dmg.org/PMML-4_1}Rule" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Extension> |
extensions |
protected Locator |
locator |
protected Predicate |
predicate |
protected List<Rule> |
rules |
| Constructor and Description |
|---|
CompoundRule() |
| Modifier and Type | Method and Description |
|---|---|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
String |
getId() |
Predicate |
getPredicate()
Gets the value of the predicate property.
|
List<Rule> |
getRules()
Gets the value of the rules property.
|
void |
setId(String id) |
void |
setPredicate(Predicate value)
Sets the value of the predicate property.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
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<Rule> getRules()
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 rules property.
For example, to add a new item, do as follows:
getRules().add(newItem);
Objects of the following type(s) are allowed in the list
SimpleRule
CompoundRule
public 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.