public class VectorDictionary extends PMMLObject 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}VectorFields"/>
<element ref="{http://www.dmg.org/PMML-4_2}VectorInstance" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="numberOfVectors" 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 |
numberOfVectors |
protected VectorFields |
vectorFields |
protected java.util.List<VectorInstance> |
vectorInstances |
| Constructor and Description |
|---|
VectorDictionary() |
VectorDictionary(VectorFields vectorFields) |
| 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 |
getNumberOfVectors()
Gets the value of the numberOfVectors property.
|
VectorFields |
getVectorFields()
Gets the value of the vectorFields property.
|
java.util.List<VectorInstance> |
getVectorInstances()
Gets the value of the vectorInstances property.
|
boolean |
hasExtensions() |
boolean |
hasVectorInstances() |
void |
setNumberOfVectors(java.lang.Integer value)
Sets the value of the numberOfVectors property.
|
void |
setVectorFields(VectorFields value)
Sets the value of the vectorFields property.
|
VectorDictionary |
withExtensions(java.util.Collection<Extension> values) |
VectorDictionary |
withExtensions(Extension... values) |
VectorDictionary |
withNumberOfVectors(java.lang.Integer value) |
VectorDictionary |
withVectorFields(VectorFields value) |
VectorDictionary |
withVectorInstances(java.util.Collection<VectorInstance> values) |
VectorDictionary |
withVectorInstances(VectorInstance... values) |
getLocator, setLocatorprotected java.lang.Integer numberOfVectors
protected java.util.List<Extension> extensions
protected VectorFields vectorFields
protected java.util.List<VectorInstance> vectorInstances
public VectorDictionary()
public VectorDictionary(VectorFields vectorFields)
public java.lang.Integer getNumberOfVectors()
Stringpublic void setNumberOfVectors(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 VectorFields getVectorFields()
VectorFieldspublic void setVectorFields(VectorFields value)
value - allowed object is
VectorFieldspublic java.util.List<VectorInstance> getVectorInstances()
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 vectorInstances property.
For example, to add a new item, do as follows:
getVectorInstances().add(newItem);
Objects of the following type(s) are allowed in the list
VectorInstance
public VectorDictionary withNumberOfVectors(java.lang.Integer value)
public VectorDictionary withExtensions(Extension... values)
public VectorDictionary withExtensions(java.util.Collection<Extension> values)
public VectorDictionary withVectorFields(VectorFields value)
public VectorDictionary withVectorInstances(VectorInstance... values)
public VectorDictionary withVectorInstances(java.util.Collection<VectorInstance> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasVectorInstances()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.