public class Cluster extends Entity implements com.sun.xml.bind.Locatable, 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 List<Extension> |
extensions |
protected String |
id |
protected KohonenMap |
kohonenMap |
protected Locator |
locator |
protected String |
name |
protected Partition |
partition |
protected 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.
|
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.
|
void |
setArray(Array value)
Sets the value of the array property.
|
void |
setCovariances(Covariances value)
Sets the value of the covariances property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setKohonenMap(KohonenMap value)
Sets the value of the kohonenMap property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPartition(Partition value)
Sets the value of the partition property.
|
void |
setSize(Integer value)
Sets the value of the size property.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
Cluster |
withArray(Array value) |
Cluster |
withCovariances(Covariances value) |
Cluster |
withExtensions(Collection<Extension> values) |
Cluster |
withExtensions(Extension... values) |
Cluster |
withId(String value) |
Cluster |
withKohonenMap(KohonenMap value) |
Cluster |
withName(String value) |
Cluster |
withPartition(Partition value) |
Cluster |
withSize(Integer value) |
protected KohonenMap kohonenMap
protected Array array
protected Partition partition
protected Covariances covariances
protected String id
protected String name
protected Integer size
protected Locator locator
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 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 String getId()
public void setId(String value)
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Integer getSize()
Stringpublic void setSize(Integer value)
value - allowed object is
Stringpublic Cluster withExtensions(Collection<Extension> values)
public Cluster withKohonenMap(KohonenMap value)
public Cluster withCovariances(Covariances 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.