public class DerivedField extends TypeDefinitionField implements HasExpression, 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"/>
<element ref="{http://www.dmg.org/PMML-4_3}Interval" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Value" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://www.dmg.org/PMML-4_3}FIELD-NAME" />
<attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="optype" use="required" type="{http://www.dmg.org/PMML-4_3}OPTYPE" />
<attribute name="dataType" use="required" type="{http://www.dmg.org/PMML-4_3}DATATYPE" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
DerivedField() |
DerivedField(OpType opType,
DataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
DerivedField |
addExtensions(Extension... extensions) |
DerivedField |
addIntervals(Interval... intervals) |
DerivedField |
addValues(Value... values) |
DataType |
getDataType()
Gets the value of the dataType property.
|
String |
getDisplayName()
Gets the value of the displayName property.
|
Expression |
getExpression()
Gets the value of the expression property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
List<Interval> |
getIntervals()
Gets the value of the intervals property.
|
FieldName |
getName()
Gets the value of the name property.
|
OpType |
getOpType()
Gets the value of the opType property.
|
List<Value> |
getValues()
Gets the value of the values property.
|
boolean |
hasExtensions() |
boolean |
hasIntervals() |
boolean |
hasValues() |
DerivedField |
setDataType(DataType dataType)
Sets the value of the dataType property.
|
DerivedField |
setDisplayName(String displayName)
Sets the value of the displayName property.
|
DerivedField |
setExpression(Expression expression)
Sets the value of the expression property.
|
DerivedField |
setName(FieldName name)
Sets the value of the name property.
|
DerivedField |
setOpType(OpType opType)
Sets the value of the opType property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic FieldName getName()
public DerivedField setName(FieldName name)
public String getDisplayName()
getDisplayName in class FieldStringpublic DerivedField setDisplayName(String displayName)
setDisplayName in class FielddisplayName - allowed object is
Stringpublic OpType getOpType()
public DerivedField setOpType(OpType opType)
public DataType getDataType()
getDataType in class FieldDataTypepublic DerivedField setDataType(DataType dataType)
setDataType in class FielddataType - allowed object is
DataTypepublic 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 Expression getExpression()
getExpression in interface HasExpressionConstant
FieldRef
NormContinuous
NormDiscrete
Discretize
MapValues
TextIndex
Apply
Aggregate
Lagpublic DerivedField setExpression(Expression expression)
setExpression in interface HasExpressionexpression - allowed object is
Constant
FieldRef
NormContinuous
NormDiscrete
Discretize
MapValues
TextIndex
Apply
Aggregate
Lagpublic List<Interval> getIntervals()
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 intervals property.
For example, to add a new item, do as follows:
getIntervals().add(newItem);
Objects of the following type(s) are allowed in the list
Interval
getIntervals in class TypeDefinitionFieldpublic List<Value> getValues()
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 values property.
For example, to add a new item, do as follows:
getValues().add(newItem);
Objects of the following type(s) are allowed in the list
Value
getValues in class TypeDefinitionFieldpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic DerivedField addExtensions(Extension... extensions)
public boolean hasIntervals()
hasIntervals in class TypeDefinitionFieldpublic DerivedField addIntervals(Interval... intervals)
public boolean hasValues()
hasValues in class TypeDefinitionFieldpublic DerivedField addValues(Value... values)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.