public class TrainingInstances extends PMMLObject implements com.sun.xml.bind.Locatable, 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_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}InstanceFields"/>
<choice>
<element ref="{http://www.dmg.org/PMML-4_1}TableLocator"/>
<element ref="{http://www.dmg.org/PMML-4_1}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_1}INT-NUMBER" />
<attribute name="fieldCount" type="{http://www.dmg.org/PMML-4_1}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 Locator |
locator |
protected Integer |
recordCount |
protected TableLocator |
tableLocator |
protected Boolean |
transformed |
| Constructor and Description |
|---|
TrainingInstances()
Deprecated.
|
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 |
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 |
setSourceLocation(Locator newLocator) |
void |
setTableLocator(TableLocator value)
Sets the value of the tableLocator property.
|
void |
setTransformed(Boolean value)
Sets the value of the transformed property.
|
Locator |
sourceLocation() |
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) |
protected InstanceFields instanceFields
protected TableLocator tableLocator
protected InlineTable inlineTable
protected Boolean transformed
protected Integer recordCount
protected Integer fieldCount
protected Locator locator
@Deprecated public TrainingInstances()
public TrainingInstances(InstanceFields instanceFields)
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
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 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 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 TrainingInstances withTransformed(Boolean value)
public TrainingInstances withRecordCount(Integer value)
public TrainingInstances withFieldCount(Integer value)
public 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 © 2014 University of Tartu. All Rights Reserved.