public class SupportVectors extends PMMLObject implements java.lang.Iterable<SupportVector>, 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}SupportVector" maxOccurs="unbounded"/>
</sequence>
<attribute name="numberOfSupportVectors" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="numberOfAttributes" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Extension> |
extensions |
protected java.lang.Integer |
numberOfAttributes |
protected java.lang.Integer |
numberOfSupportVectors |
protected java.util.List<SupportVector> |
supportVectors |
| Constructor and Description |
|---|
SupportVectors() |
SupportVectors(java.util.List<SupportVector> supportVectors) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
java.lang.Integer |
getNumberOfAttributes()
Gets the value of the numberOfAttributes property.
|
java.lang.Integer |
getNumberOfSupportVectors()
Gets the value of the numberOfSupportVectors property.
|
java.util.List<SupportVector> |
getSupportVectors()
Gets the value of the supportVectors property.
|
boolean |
hasExtensions() |
boolean |
hasSupportVectors() |
java.util.Iterator<SupportVector> |
iterator() |
void |
setNumberOfAttributes(java.lang.Integer value)
Sets the value of the numberOfAttributes property.
|
void |
setNumberOfSupportVectors(java.lang.Integer value)
Sets the value of the numberOfSupportVectors property.
|
SupportVectors |
withExtensions(java.util.Collection<Extension> values) |
SupportVectors |
withExtensions(Extension... values) |
SupportVectors |
withNumberOfAttributes(java.lang.Integer value) |
SupportVectors |
withNumberOfSupportVectors(java.lang.Integer value) |
SupportVectors |
withSupportVectors(java.util.Collection<SupportVector> values) |
SupportVectors |
withSupportVectors(SupportVector... values) |
getLocator, setLocatorprotected java.lang.Integer numberOfSupportVectors
protected java.lang.Integer numberOfAttributes
protected java.util.List<Extension> extensions
protected java.util.List<SupportVector> supportVectors
public SupportVectors()
public SupportVectors(java.util.List<SupportVector> supportVectors)
public java.lang.Integer getNumberOfSupportVectors()
Stringpublic void setNumberOfSupportVectors(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Integer getNumberOfAttributes()
Stringpublic void setNumberOfAttributes(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 java.util.List<SupportVector> getSupportVectors()
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 supportVectors property.
For example, to add a new item, do as follows:
getSupportVectors().add(newItem);
Objects of the following type(s) are allowed in the list
SupportVector
public SupportVectors withNumberOfSupportVectors(java.lang.Integer value)
public SupportVectors withNumberOfAttributes(java.lang.Integer value)
public SupportVectors withExtensions(Extension... values)
public SupportVectors withExtensions(java.util.Collection<Extension> values)
public SupportVectors withSupportVectors(SupportVector... values)
public SupportVectors withSupportVectors(java.util.Collection<SupportVector> values)
public java.util.Iterator<SupportVector> iterator()
iterator in interface java.lang.Iterable<SupportVector>public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasSupportVectors()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.