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_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}InstanceFields"/>
<choice>
<element ref="{http://www.dmg.org/PMML-4_3}TableLocator"/>
<element ref="{http://www.dmg.org/PMML-4_3}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_3}INT-NUMBER" />
<attribute name="fieldCount" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
TrainingInstances() |
TrainingInstances(InstanceFields instanceFields) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
TrainingInstances |
addExtensions(Extension... extensions) |
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.
|
TrainingInstances |
setFieldCount(Integer fieldCount)
Sets the value of the fieldCount property.
|
TrainingInstances |
setInlineTable(InlineTable inlineTable)
Sets the value of the inlineTable property.
|
TrainingInstances |
setInstanceFields(InstanceFields instanceFields)
Sets the value of the instanceFields property.
|
TrainingInstances |
setRecordCount(Integer recordCount)
Sets the value of the recordCount property.
|
TrainingInstances |
setTableLocator(TableLocator tableLocator)
Sets the value of the tableLocator property.
|
TrainingInstances |
setTransformed(Boolean transformed)
Sets the value of the transformed property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic TrainingInstances()
public TrainingInstances(InstanceFields instanceFields)
public boolean isTransformed()
Booleanpublic TrainingInstances setTransformed(Boolean transformed)
transformed - allowed object is
Booleanpublic Integer getRecordCount()
Integerpublic TrainingInstances setRecordCount(Integer recordCount)
recordCount - allowed object is
Integerpublic Integer getFieldCount()
Integerpublic TrainingInstances setFieldCount(Integer fieldCount)
fieldCount - allowed object is
Integerpublic 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 TrainingInstances setInstanceFields(InstanceFields instanceFields)
instanceFields - allowed object is
InstanceFieldspublic TableLocator getTableLocator()
TableLocatorpublic TrainingInstances setTableLocator(TableLocator tableLocator)
tableLocator - allowed object is
TableLocatorpublic InlineTable getInlineTable()
InlineTablepublic TrainingInstances setInlineTable(InlineTable inlineTable)
inlineTable - allowed object is
InlineTablepublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic TrainingInstances addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.