public class TrainingInstances extends PMMLObject 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"/>
<element ref="{http://www.dmg.org/PMML-4_2}InstanceFields"/>
<choice>
<element ref="{http://www.dmg.org/PMML-4_2}TableLocator"/>
<element ref="{http://www.dmg.org/PMML-4_2}InlineTable"/>
</choice>
</sequence>
<attribute name="isTransformed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="recordCount" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="fieldCount" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Extension> |
extensions |
protected java.lang.Integer |
fieldCount |
protected InlineTable |
inlineTable |
protected InstanceFields |
instanceFields |
protected java.lang.Integer |
recordCount |
protected TableLocator |
tableLocator |
protected java.lang.Boolean |
transformed |
| Constructor and Description |
|---|
TrainingInstances() |
TrainingInstances(InstanceFields instanceFields) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
java.lang.Integer |
getFieldCount()
Gets the value of the fieldCount property.
|
InlineTable |
getInlineTable()
Gets the value of the inlineTable property.
|
InstanceFields |
getInstanceFields()
Gets the value of the instanceFields property.
|
java.lang.Integer |
getRecordCount()
Gets the value of the recordCount property.
|
TableLocator |
getTableLocator()
Gets the value of the tableLocator property.
|
boolean |
hasExtensions() |
boolean |
isTransformed()
Gets the value of the transformed property.
|
void |
setFieldCount(java.lang.Integer value)
Sets the value of the fieldCount property.
|
void |
setInlineTable(InlineTable value)
Sets the value of the inlineTable property.
|
void |
setInstanceFields(InstanceFields value)
Sets the value of the instanceFields property.
|
void |
setRecordCount(java.lang.Integer value)
Sets the value of the recordCount property.
|
void |
setTableLocator(TableLocator value)
Sets the value of the tableLocator property.
|
void |
setTransformed(java.lang.Boolean value)
Sets the value of the transformed property.
|
TrainingInstances |
withExtensions(java.util.Collection<Extension> values) |
TrainingInstances |
withExtensions(Extension... values) |
TrainingInstances |
withFieldCount(java.lang.Integer value) |
TrainingInstances |
withInlineTable(InlineTable value) |
TrainingInstances |
withInstanceFields(InstanceFields value) |
TrainingInstances |
withRecordCount(java.lang.Integer value) |
TrainingInstances |
withTableLocator(TableLocator value) |
TrainingInstances |
withTransformed(java.lang.Boolean value) |
getLocator, setLocatorprotected java.lang.Boolean transformed
protected java.lang.Integer recordCount
protected java.lang.Integer fieldCount
protected java.util.List<Extension> extensions
protected InstanceFields instanceFields
protected TableLocator tableLocator
protected InlineTable inlineTable
public TrainingInstances()
public TrainingInstances(InstanceFields instanceFields)
public boolean isTransformed()
Booleanpublic void setTransformed(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.Integer getRecordCount()
Stringpublic void setRecordCount(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Integer getFieldCount()
Stringpublic void setFieldCount(java.lang.Integer value)
value - allowed object is
Stringpublic java.util.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 InstanceFields getInstanceFields()
InstanceFieldspublic void setInstanceFields(InstanceFields value)
value - allowed object is
InstanceFieldspublic TableLocator getTableLocator()
TableLocatorpublic void setTableLocator(TableLocator value)
value - allowed object is
TableLocatorpublic InlineTable getInlineTable()
InlineTablepublic void setInlineTable(InlineTable value)
value - allowed object is
InlineTablepublic TrainingInstances withTransformed(java.lang.Boolean value)
public TrainingInstances withRecordCount(java.lang.Integer value)
public TrainingInstances withFieldCount(java.lang.Integer value)
public TrainingInstances withExtensions(Extension... values)
public TrainingInstances withExtensions(java.util.Collection<Extension> values)
public TrainingInstances withInstanceFields(InstanceFields value)
public TrainingInstances withTableLocator(TableLocator value)
public TrainingInstances withInlineTable(InlineTable value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.