public class DataField extends TypeDefinitionField 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>
<element ref="{http://www.dmg.org/PMML-4_2}Interval" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Value" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</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" use="required" type="{http://www.dmg.org/PMML-4_2}OPTYPE" />
<attribute name="dataType" use="required" type="{http://www.dmg.org/PMML-4_2}DATATYPE" />
<attribute name="taxonomy" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="isCyclic" default="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
DataField.Cyclic
Java class for null.
|
| Constructor and Description |
|---|
DataField() |
DataField(FieldName name,
OpType opType,
DataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
DataField |
addExtensions(Extension... extensions) |
DataField |
addIntervals(Interval... intervals) |
DataField |
addValues(Value... values) |
DataField.Cyclic |
getCyclic()
Gets the value of the cyclic property.
|
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.
|
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.
|
String |
getTaxonomy()
Gets the value of the taxonomy property.
|
List<Value> |
getValues()
Gets the value of the values property.
|
boolean |
hasExtensions() |
boolean |
hasIntervals() |
boolean |
hasValues() |
DataField |
setCyclic(DataField.Cyclic cyclic)
Sets the value of the cyclic property.
|
DataField |
setDataType(DataType dataType)
Sets the value of the dataType property.
|
DataField |
setDisplayName(String displayName)
Sets the value of the displayName property.
|
DataField |
setName(FieldName name)
Sets the value of the name property.
|
DataField |
setOpType(OpType opType)
Sets the value of the opType property.
|
DataField |
setTaxonomy(String taxonomy)
Sets the value of the taxonomy property.
|
getLocator, setLocatorpublic FieldName getName()
public String getDisplayName()
getDisplayName in class FieldStringpublic DataField setDisplayName(String displayName)
setDisplayName in class FielddisplayName - allowed object is
Stringpublic OpType getOpType()
public DataType getDataType()
getDataType in class FieldDataTypepublic DataField setDataType(DataType dataType)
setDataType in class FielddataType - allowed object is
DataTypepublic String getTaxonomy()
Stringpublic DataField setTaxonomy(String taxonomy)
taxonomy - allowed object is
Stringpublic DataField.Cyclic getCyclic()
DataField.Cyclicpublic DataField setCyclic(DataField.Cyclic cyclic)
cyclic - allowed object is
DataField.Cyclicpublic 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 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 boolean hasIntervals()
hasIntervals in class TypeDefinitionFieldpublic boolean hasValues()
hasValues in class TypeDefinitionFieldpublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.