public class DefineFunction extends PMMLObject implements com.sun.xml.bind.Locatable
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"/>
<element ref="{http://www.dmg.org/PMML-4_1}ParameterField" maxOccurs="unbounded"/>
<group ref="{http://www.dmg.org/PMML-4_1}EXPRESSION"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="optype" use="required" type="{http://www.dmg.org/PMML-4_1}OPTYPE" />
<attribute name="dataType" type="{http://www.dmg.org/PMML-4_1}DATATYPE" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DataType |
dataType |
protected Expression |
expression |
protected List<Extension> |
extensions |
protected Locator |
locator |
protected String |
name |
protected OpType |
optype |
protected List<ParameterField> |
parameterFields |
| Constructor and Description |
|---|
DefineFunction()
Deprecated.
|
DefineFunction(String name,
OpType optype) |
| Modifier and Type | Method and Description |
|---|---|
DataType |
getDataType()
Gets the value of the dataType property.
|
Expression |
getExpression()
Gets the value of the expression property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
String |
getName()
Gets the value of the name property.
|
OpType |
getOptype()
Gets the value of the optype property.
|
List<ParameterField> |
getParameterFields()
Gets the value of the parameterFields property.
|
void |
setDataType(DataType value)
Sets the value of the dataType property.
|
void |
setExpression(Expression value)
Sets the value of the expression property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOptype(OpType value)
Sets the value of the optype property.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
protected List<ParameterField> parameterFields
protected Expression expression
protected String name
protected OpType optype
protected DataType dataType
protected Locator locator
@Deprecated public DefineFunction()
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
public List<ParameterField> getParameterFields()
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 parameterFields property.
For example, to add a new item, do as follows:
getParameterFields().add(newItem);
Objects of the following type(s) are allowed in the list
ParameterField
public Expression getExpression()
Constant
FieldRef
NormContinuous
NormDiscrete
Discretize
MapValues
Apply
Aggregatepublic void setExpression(Expression value)
value - allowed object is
Constant
FieldRef
NormContinuous
NormDiscrete
Discretize
MapValues
Apply
Aggregatepublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic OpType getOptype()
OpTypepublic void setOptype(OpType value)
value - allowed object is
OpTypepublic DataType getDataType()
DataTypepublic void setDataType(DataType value)
value - allowed object is
DataTypepublic Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectCopyright © 2013 University of Tartu. All Rights Reserved.