public class SimpleSetPredicate extends Predicate implements HasExtensions, HasValueSet
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"/>
<element ref="{http://www.dmg.org/PMML-4_2}Array"/>
</sequence>
<attribute name="field" use="required" type="{http://www.dmg.org/PMML-4_2}FIELD-NAME" />
<attribute name="booleanOperator" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="isIn"/>
<enumeration value="isNotIn"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleSetPredicate.BooleanOperator
Java class for null.
|
| Constructor and Description |
|---|
SimpleSetPredicate() |
SimpleSetPredicate(FieldName field,
SimpleSetPredicate.BooleanOperator booleanOperator,
Array array) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
SimpleSetPredicate |
addExtensions(Extension... extensions) |
Array |
getArray()
Gets the value of the array property.
|
SimpleSetPredicate.BooleanOperator |
getBooleanOperator()
Gets the value of the booleanOperator property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
FieldName |
getField()
Gets the value of the field property.
|
boolean |
hasExtensions() |
SimpleSetPredicate |
setArray(Array array)
Sets the value of the array property.
|
SimpleSetPredicate |
setBooleanOperator(SimpleSetPredicate.BooleanOperator booleanOperator)
Sets the value of the booleanOperator property.
|
SimpleSetPredicate |
setField(FieldName field)
Sets the value of the field property.
|
getLocator, setLocatorpublic SimpleSetPredicate()
public SimpleSetPredicate(FieldName field, SimpleSetPredicate.BooleanOperator booleanOperator, Array array)
public FieldName getField()
getField in interface HasValueSetStringDataField,
DerivedField,
OutputFieldpublic SimpleSetPredicate setField(FieldName field)
field - allowed object is
Stringpublic SimpleSetPredicate.BooleanOperator getBooleanOperator()
SimpleSetPredicate.BooleanOperatorpublic SimpleSetPredicate setBooleanOperator(SimpleSetPredicate.BooleanOperator booleanOperator)
booleanOperator - allowed object is
SimpleSetPredicate.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 Array getArray()
getArray in interface HasValueSetArraypublic SimpleSetPredicate setArray(Array array)
setArray in interface HasValueSetarray - allowed object is
Arraypublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic SimpleSetPredicate addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.