public class ResultField extends Field 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"/>
</sequence>
<attribute name="name" use="required" type="{http://www.dmg.org/PMML-4_2}FIELD-NAME" />
<attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="optype" type="{http://www.dmg.org/PMML-4_2}OPTYPE" />
<attribute name="dataType" type="{http://www.dmg.org/PMML-4_2}DATATYPE" />
<attribute name="feature" type="{http://www.dmg.org/PMML-4_2}RESULT-FEATURE" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DataType |
dataType |
protected java.lang.String |
displayName |
protected java.util.List<Extension> |
extensions |
protected ResultFeatureType |
feature |
protected FieldName |
name |
protected OpType |
opType |
protected java.lang.String |
value |
| Constructor and Description |
|---|
ResultField() |
ResultField(FieldName name) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
DataType |
getDataType()
Gets the value of the dataType property.
|
java.lang.String |
getDisplayName()
Gets the value of the displayName property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
ResultFeatureType |
getFeature()
Gets the value of the feature property.
|
FieldName |
getName()
Gets the value of the name property.
|
OpType |
getOpType()
Gets the value of the opType property.
|
java.lang.String |
getValue()
Gets the value of the value property.
|
boolean |
hasExtensions() |
void |
setDataType(DataType value)
Sets the value of the dataType property.
|
void |
setDisplayName(java.lang.String value)
Sets the value of the displayName property.
|
void |
setFeature(ResultFeatureType value)
Sets the value of the feature property.
|
void |
setName(FieldName value)
Sets the value of the name property.
|
void |
setOpType(OpType value)
Sets the value of the opType property.
|
void |
setValue(java.lang.String value)
Sets the value of the value property.
|
ResultField |
withDataType(DataType value) |
ResultField |
withDisplayName(java.lang.String value) |
ResultField |
withExtensions(java.util.Collection<Extension> values) |
ResultField |
withExtensions(Extension... values) |
ResultField |
withFeature(ResultFeatureType value) |
ResultField |
withName(FieldName value) |
ResultField |
withOpType(OpType value) |
ResultField |
withValue(java.lang.String value) |
getLocator, setLocatorprotected FieldName name
protected java.lang.String displayName
protected OpType opType
protected DataType dataType
protected ResultFeatureType feature
protected java.lang.String value
protected java.util.List<Extension> extensions
public ResultField()
public ResultField(FieldName name)
public FieldName getName()
public void setName(FieldName value)
public java.lang.String getDisplayName()
getDisplayName in class FieldStringpublic void setDisplayName(java.lang.String value)
setDisplayName in class Fieldvalue - allowed object is
Stringpublic OpType getOpType()
public void setOpType(OpType value)
public DataType getDataType()
getDataType in class FieldDataTypepublic void setDataType(DataType value)
setDataType in class Fieldvalue - allowed object is
DataTypepublic ResultFeatureType getFeature()
ResultFeatureTypepublic void setFeature(ResultFeatureType value)
value - allowed object is
ResultFeatureTypepublic java.lang.String getValue()
Stringpublic void setValue(java.lang.String value)
value - allowed object is
Stringpublic 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 ResultField withName(FieldName value)
public ResultField withDisplayName(java.lang.String value)
public ResultField withOpType(OpType value)
public ResultField withDataType(DataType value)
public ResultField withFeature(ResultFeatureType value)
public ResultField withValue(java.lang.String value)
public ResultField withExtensions(Extension... values)
public ResultField withExtensions(java.util.Collection<Extension> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.