public class CompoundPredicate extends Predicate implements HasExtensions
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"/>
<sequence maxOccurs="unbounded" minOccurs="2">
<group ref="{http://www.dmg.org/PMML-4_2}PREDICATE"/>
</sequence>
</sequence>
<attribute name="booleanOperator" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="or"/>
<enumeration value="and"/>
<enumeration value="xor"/>
<enumeration value="surrogate"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
CompoundPredicate.BooleanOperator
Java class for null.
|
| Constructor and Description |
|---|
CompoundPredicate() |
CompoundPredicate(CompoundPredicate.BooleanOperator booleanOperator) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
CompoundPredicate |
addExtensions(Extension... extensions) |
CompoundPredicate |
addPredicates(Predicate... predicates) |
CompoundPredicate.BooleanOperator |
getBooleanOperator()
Gets the value of the booleanOperator property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
List<Predicate> |
getPredicates()
Gets the value of the predicates property.
|
boolean |
hasExtensions() |
boolean |
hasPredicates() |
CompoundPredicate |
setBooleanOperator(CompoundPredicate.BooleanOperator booleanOperator)
Sets the value of the booleanOperator property.
|
getLocator, setLocatorpublic CompoundPredicate()
public CompoundPredicate(CompoundPredicate.BooleanOperator booleanOperator)
public CompoundPredicate.BooleanOperator getBooleanOperator()
CompoundPredicate.BooleanOperatorpublic CompoundPredicate setBooleanOperator(CompoundPredicate.BooleanOperator booleanOperator)
booleanOperator - allowed object is
CompoundPredicate.BooleanOperatorpublic 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
getExtensions in interface HasExtensionspublic List<Predicate> getPredicates()
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 predicates property.
For example, to add a new item, do as follows:
getPredicates().add(newItem);
Objects of the following type(s) are allowed in the list
SimplePredicate
CompoundPredicate
SimpleSetPredicate
True
False
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic CompoundPredicate addExtensions(Extension... extensions)
public boolean hasPredicates()
public CompoundPredicate addPredicates(Predicate... predicates)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All Rights Reserved.