public class Cluster extends Entity implements HasExtensions, HasId
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}KohonenMap" minOccurs="0"/>
<group ref="{http://www.dmg.org/PMML-4_2}NUM-ARRAY" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Partition" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Covariances" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="size" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Array |
array |
protected Covariances |
covariances |
protected java.util.List<Extension> |
extensions |
protected java.lang.String |
id |
protected KohonenMap |
kohonenMap |
protected java.lang.String |
name |
protected Partition |
partition |
protected java.lang.Integer |
size |
| Constructor and Description |
|---|
Cluster() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Array |
getArray()
Gets the value of the array property.
|
Covariances |
getCovariances()
Gets the value of the covariances property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
KohonenMap |
getKohonenMap()
Gets the value of the kohonenMap property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
Partition |
getPartition()
Gets the value of the partition property.
|
java.lang.Integer |
getSize()
Gets the value of the size property.
|
boolean |
hasExtensions() |
void |
setArray(Array value)
Sets the value of the array property.
|
void |
setCovariances(Covariances value)
Sets the value of the covariances property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setKohonenMap(KohonenMap value)
Sets the value of the kohonenMap property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setPartition(Partition value)
Sets the value of the partition property.
|
void |
setSize(java.lang.Integer value)
Sets the value of the size property.
|
Cluster |
withArray(Array value) |
Cluster |
withCovariances(Covariances value) |
Cluster |
withExtensions(java.util.Collection<Extension> values) |
Cluster |
withExtensions(Extension... values) |
Cluster |
withId(java.lang.String value) |
Cluster |
withKohonenMap(KohonenMap value) |
Cluster |
withName(java.lang.String value) |
Cluster |
withPartition(Partition value) |
Cluster |
withSize(java.lang.Integer value) |
getLocator, setLocatorprotected java.lang.String id
protected java.lang.String name
protected java.lang.Integer size
protected java.util.List<Extension> extensions
protected KohonenMap kohonenMap
protected Array array
protected Partition partition
protected Covariances covariances
public java.lang.String getId()
public void setId(java.lang.String value)
public java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Integer getSize()
Stringpublic void setSize(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 KohonenMap getKohonenMap()
KohonenMappublic void setKohonenMap(KohonenMap value)
value - allowed object is
KohonenMappublic Array getArray()
Arraypublic void setArray(Array value)
value - allowed object is
Arraypublic Partition getPartition()
Partitionpublic void setPartition(Partition value)
value - allowed object is
Partitionpublic Covariances getCovariances()
Covariancespublic void setCovariances(Covariances value)
value - allowed object is
Covariancespublic Cluster withId(java.lang.String value)
public Cluster withName(java.lang.String value)
public Cluster withSize(java.lang.Integer value)
public Cluster withKohonenMap(KohonenMap value)
public Cluster withCovariances(Covariances value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.