public class Partition 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}PartitionFieldStats" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="size" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Extension> |
extensions |
protected java.lang.String |
name |
protected java.util.List<PartitionFieldStats> |
partitionFieldStats |
protected java.lang.Double |
size |
| Constructor and Description |
|---|
Partition() |
Partition(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.util.List<PartitionFieldStats> |
getPartitionFieldStats()
Gets the value of the partitionFieldStats property.
|
java.lang.Double |
getSize()
Gets the value of the size property.
|
boolean |
hasExtensions() |
boolean |
hasPartitionFieldStats() |
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setSize(java.lang.Double value)
Sets the value of the size property.
|
Partition |
withExtensions(java.util.Collection<Extension> values) |
Partition |
withExtensions(Extension... values) |
Partition |
withName(java.lang.String value) |
Partition |
withPartitionFieldStats(java.util.Collection<PartitionFieldStats> values) |
Partition |
withPartitionFieldStats(PartitionFieldStats... values) |
Partition |
withSize(java.lang.Double value) |
getLocator, setLocatorprotected java.lang.String name
protected java.lang.Double size
protected java.util.List<Extension> extensions
protected java.util.List<PartitionFieldStats> partitionFieldStats
public java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Double getSize()
Doublepublic void setSize(java.lang.Double value)
value - allowed object is
Doublepublic 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 java.util.List<PartitionFieldStats> getPartitionFieldStats()
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 partitionFieldStats property.
For example, to add a new item, do as follows:
getPartitionFieldStats().add(newItem);
Objects of the following type(s) are allowed in the list
PartitionFieldStats
public Partition withName(java.lang.String value)
public Partition withSize(java.lang.Double value)
public Partition withPartitionFieldStats(PartitionFieldStats... values)
public Partition withPartitionFieldStats(java.util.Collection<PartitionFieldStats> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasPartitionFieldStats()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.