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 List<Extension> |
extensions |
protected Integer |
fieldCount |
protected InlineTable |
inlineTable |
protected InstanceFields |
instanceFields |
protected Integer |
recordCount |
protected TableLocator |
tableLocator |
protected Boolean |
transformed |
| Constructor and Description |
|---|
TrainingInstances() |
TrainingInstances(InstanceFields instanceFields) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
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.
|
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(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(Integer value)
Sets the value of the recordCount property.
|
void |
setTableLocator(TableLocator value)
Sets the value of the tableLocator property.
|
void |
setTransformed(Boolean value)
Sets the value of the transformed property.
|
TrainingInstances |
withExtensions(Collection<Extension> values) |
TrainingInstances |
withExtensions(Extension... values) |
TrainingInstances |
withFieldCount(Integer value) |
TrainingInstances |
withInlineTable(InlineTable value) |
TrainingInstances |
withInstanceFields(InstanceFields value) |
TrainingInstances |
withRecordCount(Integer value) |
TrainingInstances |
withTableLocator(TableLocator value) |
TrainingInstances |
withTransformed(Boolean value) |
getLocator, setLocatorprotected Boolean transformed
protected Integer recordCount
protected Integer fieldCount
protected InstanceFields instanceFields
protected TableLocator tableLocator
protected InlineTable inlineTable
public TrainingInstances()
public TrainingInstances(InstanceFields instanceFields)
public boolean isTransformed()
Booleanpublic void setTransformed(Boolean value)
value - allowed object is
Booleanpublic Integer getRecordCount()
Stringpublic void setRecordCount(Integer value)
value - allowed object is
Stringpublic Integer getFieldCount()
Stringpublic void setFieldCount(Integer value)
value - 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 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(Boolean value)
public TrainingInstances withRecordCount(Integer value)
public TrainingInstances withFieldCount(Integer value)
public TrainingInstances withExtensions(Extension... values)
public TrainingInstances withExtensions(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.