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_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<group ref="{http://www.dmg.org/PMML-4_3}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_3}INVALID-VALUE-TREATMENT-METHOD" default="returnInvalid" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Apply |
addExpressions(Expression... expressions) |
Apply |
addExtensions(Extension... extensions) |
String |
getDefaultValue()
Gets the value of the defaultValue property.
|
List<Expression> |
getExpressions()
Gets the value of the expressions property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
String |
getFunction()
Gets the value of the function property.
|
InvalidValueTreatmentMethod |
getInvalidValueTreatment()
Gets the value of the invalidValueTreatment property.
|
String |
getMapMissingTo()
Gets the value of the mapMissingTo property.
|
boolean |
hasExpressions() |
boolean |
hasExtensions() |
Apply |
setDefaultValue(String defaultValue)
Sets the value of the defaultValue property.
|
Apply |
setFunction(String function)
Sets the value of the function property.
|
Apply |
setInvalidValueTreatment(InvalidValueTreatmentMethod invalidValueTreatment)
Sets the value of the invalidValueTreatment property.
|
Apply |
setMapMissingTo(String mapMissingTo)
Sets the value of the mapMissingTo property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic Apply()
public Apply(String function)
public String getFunction()
Stringpublic Apply setFunction(String function)
function - allowed object is
Stringpublic String getMapMissingTo()
Stringpublic Apply setMapMissingTo(String mapMissingTo)
mapMissingTo - allowed object is
Stringpublic String getDefaultValue()
Stringpublic Apply setDefaultValue(String defaultValue)
defaultValue - allowed object is
Stringpublic InvalidValueTreatmentMethod getInvalidValueTreatment()
InvalidValueTreatmentMethodpublic Apply setInvalidValueTreatment(InvalidValueTreatmentMethod invalidValueTreatment)
invalidValueTreatment - allowed object is
InvalidValueTreatmentMethodpublic 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<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
Lag
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasExpressions()
public Apply addExpressions(Expression... expressions)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.