public class Apply extends Expression implements com.sun.xml.bind.Locatable, 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_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
<group ref="{http://www.dmg.org/PMML-4_1}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="invalidValueTreatment" type="{http://www.dmg.org/PMML-4_1}INVALID-VALUE-TREATMENT-METHOD" default="returnInvalid" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Expression> |
expressions |
protected List<Extension> |
extensions |
protected String |
function |
protected InvalidValueTreatmentMethodType |
invalidValueTreatment |
protected Locator |
locator |
protected String |
mapMissingTo |
| Constructor and Description |
|---|
Apply()
Deprecated.
|
Apply(String function) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
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.
|
InvalidValueTreatmentMethodType |
getInvalidValueTreatment()
Gets the value of the invalidValueTreatment property.
|
String |
getMapMissingTo()
Gets the value of the mapMissingTo property.
|
void |
setFunction(String value)
Sets the value of the function property.
|
void |
setInvalidValueTreatment(InvalidValueTreatmentMethodType value)
Sets the value of the invalidValueTreatment property.
|
void |
setMapMissingTo(String value)
Sets the value of the mapMissingTo property.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
Apply |
withExpressions(Collection<Expression> values) |
Apply |
withExpressions(Expression... values) |
Apply |
withExtensions(Collection<Extension> values) |
Apply |
withExtensions(Extension... values) |
Apply |
withFunction(String value) |
Apply |
withInvalidValueTreatment(InvalidValueTreatmentMethodType value) |
Apply |
withMapMissingTo(String value) |
protected List<Expression> expressions
protected String function
protected String mapMissingTo
protected InvalidValueTreatmentMethodType invalidValueTreatment
protected Locator locator
@Deprecated public Apply()
public Apply(String function)
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
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
Apply
Aggregate
public String getFunction()
Stringpublic void setFunction(String value)
value - allowed object is
Stringpublic String getMapMissingTo()
Stringpublic void setMapMissingTo(String value)
value - allowed object is
Stringpublic InvalidValueTreatmentMethodType getInvalidValueTreatment()
InvalidValueTreatmentMethodTypepublic void setInvalidValueTreatment(InvalidValueTreatmentMethodType value)
value - allowed object is
InvalidValueTreatmentMethodTypepublic Apply withExtensions(Collection<Extension> values)
public Apply withExpressions(Expression... values)
public Apply withExpressions(Collection<Expression> values)
public Apply withInvalidValueTreatment(InvalidValueTreatmentMethodType value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.