public class Cluster extends Entity 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}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.dmg.org/PMML-4_2}INT-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Cluster() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Cluster |
addExtensions(Extension... extensions) |
Array |
getArray()
Gets the value of the array property.
|
Covariances |
getCovariances()
Gets the value of the covariances property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
String |
getId()
Gets the value of the id property.
|
KohonenMap |
getKohonenMap()
Gets the value of the kohonenMap property.
|
String |
getName()
Gets the value of the name property.
|
Partition |
getPartition()
Gets the value of the partition property.
|
Integer |
getSize()
Gets the value of the size property.
|
boolean |
hasExtensions() |
Cluster |
setArray(Array array)
Sets the value of the array property.
|
Cluster |
setCovariances(Covariances covariances)
Sets the value of the covariances property.
|
Cluster |
setId(String id)
Sets the value of the id property.
|
Cluster |
setKohonenMap(KohonenMap kohonenMap)
Sets the value of the kohonenMap property.
|
Cluster |
setName(String name)
Sets the value of the name property.
|
Cluster |
setPartition(Partition partition)
Sets the value of the partition property.
|
Cluster |
setSize(Integer size)
Sets the value of the size property.
|
getLocator, setLocatorpublic String getId()
public String getName()
Stringpublic Cluster setName(String name)
name - allowed object is
Stringpublic Integer getSize()
Integerpublic Cluster setSize(Integer size)
size - 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 KohonenMap getKohonenMap()
KohonenMappublic Cluster setKohonenMap(KohonenMap kohonenMap)
kohonenMap - allowed object is
KohonenMappublic Array getArray()
Arraypublic Cluster setArray(Array array)
array - allowed object is
Arraypublic Partition getPartition()
Partitionpublic Cluster setPartition(Partition partition)
partition - allowed object is
Partitionpublic Covariances getCovariances()
Covariancespublic Cluster setCovariances(Covariances covariances)
covariances - allowed object is
Covariancespublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All Rights Reserved.