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.
|
| Modifier and Type | Field and Description |
|---|---|
protected DataField.Cyclic |
cyclic |
protected DataType |
dataType |
protected String |
displayName |
protected List<Extension> |
extensions |
protected List<Interval> |
intervals |
protected FieldName |
name |
protected OpType |
opType |
protected String |
taxonomy |
protected List<Value> |
values |
| Constructor and Description |
|---|
DataField() |
DataField(FieldName name,
OpType opType,
DataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
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() |
void |
setCyclic(DataField.Cyclic value)
Sets the value of the cyclic property.
|
void |
setDataType(DataType value)
Sets the value of the dataType property.
|
void |
setDisplayName(String value)
Sets the value of the displayName property.
|
void |
setName(FieldName value)
Sets the value of the name property.
|
void |
setOpType(OpType value)
Sets the value of the opType property.
|
void |
setTaxonomy(String value)
Sets the value of the taxonomy property.
|
DataField |
withCyclic(DataField.Cyclic value) |
DataField |
withDataType(DataType value) |
DataField |
withDisplayName(String value) |
DataField |
withExtensions(Collection<Extension> values) |
DataField |
withExtensions(Extension... values) |
DataField |
withIntervals(Collection<Interval> values) |
DataField |
withIntervals(Interval... values) |
DataField |
withName(FieldName value) |
DataField |
withOpType(OpType value) |
DataField |
withTaxonomy(String value) |
DataField |
withValues(Collection<Value> values) |
DataField |
withValues(Value... values) |
getLocator, setLocatorprotected FieldName name
protected String displayName
protected OpType opType
protected DataType dataType
protected String taxonomy
protected DataField.Cyclic cyclic
public 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 String getTaxonomy()
Stringpublic void setTaxonomy(String value)
value - allowed object is
Stringpublic DataField.Cyclic getCyclic()
DataField.Cyclicpublic void setCyclic(DataField.Cyclic value)
value - 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
public 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 DataField withCyclic(DataField.Cyclic value)
public DataField withExtensions(Collection<Extension> values)
public DataField withIntervals(Collection<Interval> values)
public DataField withValues(Collection<Value> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasIntervals()
public boolean hasValues()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.