Package weka.core.pmml.jaxbbindings
Class VectorInstance
- java.lang.Object
-
- weka.core.pmml.jaxbbindings.VectorInstance
-
public class VectorInstance extends java.lang.ObjectJava class for VectorInstance element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="VectorInstance"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/> <choice> <element ref="{http://www.dmg.org/PMML-4_1}REAL-SparseArray"/> <group ref="{http://www.dmg.org/PMML-4_1}REAL-ARRAY"/> </choice> </sequence> <attribute name="id" use="required" type="{http://www.dmg.org/PMML-4_1}VECTOR-ID" /> </restriction> </complexContent> </complexType> </element>
-
-
Constructor Summary
Constructors Constructor Description VectorInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayTypegetArray()Gets the value of the array property.java.util.List<Extension>getExtension()Gets the value of the extension property.java.lang.StringgetId()Gets the value of the id property.REALSparseArraygetREALSparseArray()Gets the value of the realSparseArray property.voidsetArray(ArrayType value)Sets the value of the array property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetREALSparseArray(REALSparseArray value)Sets the value of the realSparseArray property.
-
-
-
Method Detail
-
getExtension
public java.util.List<Extension> getExtension()
Gets the value of the extension property.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
setmethod for the extension property.For example, to add a new item, do as follows:
getExtension().add(newItem);Objects of the following type(s) are allowed in the list
Extension
-
getREALSparseArray
public REALSparseArray getREALSparseArray()
Gets the value of the realSparseArray property.- Returns:
- possible object is
REALSparseArray
-
setREALSparseArray
public void setREALSparseArray(REALSparseArray value)
Sets the value of the realSparseArray property.- Parameters:
value- allowed object isREALSparseArray
-
getArray
public ArrayType getArray()
Gets the value of the array property.- Returns:
- possible object is
ArrayType
-
setArray
public void setArray(ArrayType value)
Sets the value of the array property.- Parameters:
value- allowed object isArrayType
-
getId
public java.lang.String getId()
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
-