public class Apply extends Expression 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"/>
<group ref="{http://www.dmg.org/PMML-4_2}EXPRESSION" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="function" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="mapMissingTo" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="invalidValueTreatment" type="{http://www.dmg.org/PMML-4_2}INVALID-VALUE-TREATMENT-METHOD" default="returnInvalid" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
defaultValue |
protected java.util.List<Expression> |
expressions |
protected java.util.List<Extension> |
extensions |
protected java.lang.String |
function |
protected InvalidValueTreatmentMethodType |
invalidValueTreatment |
protected java.lang.String |
mapMissingTo |
| Constructor and Description |
|---|
Apply() |
Apply(java.lang.String function) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.String |
getDefaultValue()
Gets the value of the defaultValue property.
|
java.util.List<Expression> |
getExpressions()
Gets the value of the expressions property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
java.lang.String |
getFunction()
Gets the value of the function property.
|
InvalidValueTreatmentMethodType |
getInvalidValueTreatment()
Gets the value of the invalidValueTreatment property.
|
java.lang.String |
getMapMissingTo()
Gets the value of the mapMissingTo property.
|
boolean |
hasExpressions() |
boolean |
hasExtensions() |
void |
setDefaultValue(java.lang.String value)
Sets the value of the defaultValue property.
|
void |
setFunction(java.lang.String value)
Sets the value of the function property.
|
void |
setInvalidValueTreatment(InvalidValueTreatmentMethodType value)
Sets the value of the invalidValueTreatment property.
|
void |
setMapMissingTo(java.lang.String value)
Sets the value of the mapMissingTo property.
|
Apply |
withDefaultValue(java.lang.String value) |
Apply |
withExpressions(java.util.Collection<Expression> values) |
Apply |
withExpressions(Expression... values) |
Apply |
withExtensions(java.util.Collection<Extension> values) |
Apply |
withExtensions(Extension... values) |
Apply |
withFunction(java.lang.String value) |
Apply |
withInvalidValueTreatment(InvalidValueTreatmentMethodType value) |
Apply |
withMapMissingTo(java.lang.String value) |
getLocator, setLocatorprotected java.lang.String function
protected java.lang.String mapMissingTo
protected java.lang.String defaultValue
protected InvalidValueTreatmentMethodType invalidValueTreatment
protected java.util.List<Extension> extensions
protected java.util.List<Expression> expressions
public java.lang.String getFunction()
Stringpublic void setFunction(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getMapMissingTo()
Stringpublic void setMapMissingTo(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getDefaultValue()
Stringpublic void setDefaultValue(java.lang.String value)
value - allowed object is
Stringpublic InvalidValueTreatmentMethodType getInvalidValueTreatment()
InvalidValueTreatmentMethodTypepublic void setInvalidValueTreatment(InvalidValueTreatmentMethodType value)
value - allowed object is
InvalidValueTreatmentMethodTypepublic java.util.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 java.util.List<Expression> getExpressions()
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 expressions property.
For example, to add a new item, do as follows:
getExpressions().add(newItem);
Objects of the following type(s) are allowed in the list
Constant
FieldRef
NormContinuous
NormDiscrete
Discretize
MapValues
TextIndex
Apply
Aggregate
public Apply withFunction(java.lang.String value)
public Apply withMapMissingTo(java.lang.String value)
public Apply withDefaultValue(java.lang.String value)
public Apply withInvalidValueTreatment(InvalidValueTreatmentMethodType value)
public Apply withExpressions(Expression... values)
public Apply withExpressions(java.util.Collection<Expression> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasExpressions()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.