public class ResultField extends Field 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_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 String |
displayName |
protected List<Extension> |
extensions |
protected ResultFeatureType |
feature |
protected Locator |
locator |
protected FieldName |
name |
protected OpType |
optype |
protected String |
value |
| Constructor and Description |
|---|
ResultField()
Deprecated.
|
ResultField(FieldName name) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
DataType |
getDataType()
Gets the value of the dataType property.
|
String |
getDisplayName()
Gets the value of the displayName property.
|
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.
|
String |
getValue()
Gets the value of the value property.
|
void |
setDataType(DataType value)
Sets the value of the dataType property.
|
void |
setDisplayName(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 |
setSourceLocation(Locator newLocator) |
void |
setValue(String value)
Sets the value of the value property.
|
Locator |
sourceLocation() |
ResultField |
withDataType(DataType value) |
ResultField |
withDisplayName(String value) |
ResultField |
withExtensions(Collection<Extension> values) |
ResultField |
withExtensions(Extension... values) |
ResultField |
withFeature(ResultFeatureType value) |
ResultField |
withName(FieldName value) |
ResultField |
withOptype(OpType value) |
ResultField |
withValue(String value) |
protected FieldName name
protected String displayName
protected OpType optype
protected DataType dataType
protected ResultFeatureType feature
protected String value
protected Locator locator
@Deprecated public ResultField()
public ResultField(FieldName name)
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 FieldName getName()
public void setName(FieldName value)
public String getDisplayName()
getDisplayName in class FieldStringpublic void setDisplayName(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 String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic ResultField withExtensions(Extension... values)
public ResultField withExtensions(Collection<Extension> values)
public ResultField withName(FieldName value)
public ResultField withDisplayName(String value)
public ResultField withOptype(OpType value)
public ResultField withDataType(DataType value)
public ResultField withFeature(ResultFeatureType value)
public ResultField withValue(String 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.