Package weka.core.pmml.jaxbbindings

# Class VectorInstance

java.lang.Object
weka.core.pmml.jaxbbindings.VectorInstance

public class VectorInstance extends Object

Java 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

  Modifier and Type
  Method
  Description
  `ArrayType`
  `getArray()`
  Gets the value of the array property.
  `List<Extension>`
  `getExtension()`
  Gets the value of the extension property.
  `String`
  `getId()`
  Gets the value of the id property.
  `REALSparseArray`
  `getREALSparseArray()`
  Gets the value of the realSparseArray property.
  `void`
  `setArray(ArrayType value)`
  Sets the value of the array property.
  `void`
  `setId(String value)`
  Sets the value of the id property.
  `void`
  `setREALSparseArray(REALSparseArray value)`
  Sets the value of the realSparseArray property.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### VectorInstance

    public VectorInstance()

- ## Method Details

  - ### getExtension

    public 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 `set` method 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 is `REALSparseArray`

  - ### 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 is `ArrayType`

  - ### getId

    public String getId()
    Gets the value of the id property.
    Returns:
      possible object is `String`

  - ### setId

    public void setId(String value)
    Sets the value of the id property.
    Parameters:
      `value` - allowed object is `String`