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_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.dmg.org/PMML-4_3}FIELD-NAME" />
<attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="optype" type="{http://www.dmg.org/PMML-4_3}OPTYPE" />
<attribute name="dataType" type="{http://www.dmg.org/PMML-4_3}DATATYPE" />
<attribute name="feature" type="{http://www.dmg.org/PMML-4_3}RESULT-FEATURE" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
ResultField() |
ResultField(FieldName name) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
ResultField |
addExtensions(Extension... extensions) |
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.
|
FieldName |
getName()
Gets the value of the name property.
|
OpType |
getOpType()
Gets the value of the opType property.
|
ResultFeature |
getResultFeature()
Gets the value of the resultFeature property.
|
String |
getValue()
Gets the value of the value property.
|
boolean |
hasExtensions() |
ResultField |
setDataType(DataType dataType)
Sets the value of the dataType property.
|
ResultField |
setDisplayName(String displayName)
Sets the value of the displayName property.
|
ResultField |
setName(FieldName name)
Sets the value of the name property.
|
ResultField |
setOpType(OpType opType)
Sets the value of the opType property.
|
ResultField |
setResultFeature(ResultFeature resultFeature)
Sets the value of the resultFeature property.
|
ResultField |
setValue(String value)
Sets the value of the value property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic ResultField()
public ResultField(FieldName name)
public FieldName getName()
public ResultField setName(FieldName name)
public String getDisplayName()
getDisplayName in class FieldStringpublic ResultField setDisplayName(String displayName)
setDisplayName in class FielddisplayName - allowed object is
Stringpublic OpType getOpType()
public ResultField setOpType(OpType opType)
public DataType getDataType()
getDataType in class FieldDataTypepublic ResultField setDataType(DataType dataType)
setDataType in class FielddataType - allowed object is
DataTypepublic ResultFeature getResultFeature()
ResultFeaturepublic ResultField setResultFeature(ResultFeature resultFeature)
resultFeature - allowed object is
ResultFeaturepublic String getValue()
Stringpublic ResultField setValue(String value)
value - allowed object is
Stringpublic 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 boolean hasExtensions()
hasExtensions in interface HasExtensionspublic ResultField addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.