public class SupportVectors extends PMMLObject implements 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 List<Extension> |
extensions |
protected Integer |
numberOfAttributes |
protected Integer |
numberOfSupportVectors |
protected List<SupportVector> |
supportVectors |
| Constructor and Description |
|---|
SupportVectors() |
SupportVectors(List<SupportVector> supportVectors) |
getLocator, setLocatorprotected Integer numberOfSupportVectors
protected Integer numberOfAttributes
protected List<SupportVector> supportVectors
public SupportVectors()
public SupportVectors(List<SupportVector> supportVectors)
public Integer getNumberOfSupportVectors()
Stringpublic void setNumberOfSupportVectors(Integer value)
value - allowed object is
Stringpublic Integer getNumberOfAttributes()
Stringpublic void setNumberOfAttributes(Integer value)
value - allowed object is
Stringpublic 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 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(Integer value)
public SupportVectors withNumberOfAttributes(Integer value)
public SupportVectors withExtensions(Extension... values)
public SupportVectors withExtensions(Collection<Extension> values)
public SupportVectors withSupportVectors(SupportVector... values)
public SupportVectors withSupportVectors(Collection<SupportVector> values)
public Iterator<SupportVector> iterator()
iterator in interface Iterable<SupportVector>public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasSupportVectors()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.