public class InstanceField extends PMMLObject implements HasExtensions, Indexable<FieldName>
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="field" use="required" type="{http://www.dmg.org/PMML-4_2}FIELD-NAME" />
<attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
InstanceField() |
InstanceField(FieldName field) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
InstanceField |
addExtensions(Extension... extensions) |
String |
getColumn()
Gets the value of the column property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
FieldName |
getField()
Gets the value of the field property.
|
FieldName |
getKey() |
boolean |
hasExtensions() |
InstanceField |
setColumn(String column)
Sets the value of the column property.
|
InstanceField |
setField(FieldName field)
Sets the value of the field property.
|
getLocator, setLocatorpublic InstanceField()
public InstanceField(FieldName field)
public FieldName getField()
Stringpublic InstanceField setField(FieldName field)
field - allowed object is
Stringpublic String getColumn()
Stringpublic InstanceField setColumn(String column)
column - 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 FieldName getKey()
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic InstanceField addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.