public class DataField extends TypeDefinitionField implements com.sun.xml.bind.Locatable
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_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
<sequence>
<element ref="{http://www.dmg.org/PMML-4_1}Interval" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}Value" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</sequence>
<attribute name="name" use="required" type="{http://www.dmg.org/PMML-4_1}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_1}OPTYPE" />
<attribute name="dataType" use="required" type="{http://www.dmg.org/PMML-4_1}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 Locator |
locator |
protected FieldName |
name |
protected OpType |
optype |
protected String |
taxonomy |
protected List<Value> |
values |
| Constructor and Description |
|---|
DataField()
Deprecated.
|
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.
|
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 |
setSourceLocation(Locator newLocator) |
void |
setTaxonomy(String value)
Sets the value of the taxonomy property.
|
Locator |
sourceLocation() |
protected FieldName name
protected String displayName
protected OpType optype
protected DataType dataType
protected String taxonomy
protected DataField.Cyclic cyclic
protected Locator locator
@Deprecated public DataField()
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
public 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 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 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 © 2013 University of Tartu. All Rights Reserved.