nz.ac.waikato.adams.webservice.weka
Class Instance

java.lang.Object
  extended by nz.ac.waikato.adams.webservice.weka.Instance

public class Instance
extends Object

Java class for instance complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="instance">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="value" type="{http://weka.webservice.adams.waikato.ac.nz/}value" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="instanceType" type="{http://weka.webservice.adams.waikato.ac.nz/}InstanceType" default="normal" />
       <attribute name="instanceWeight" type="{http://www.w3.org/2001/XMLSchema}double" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  InstanceType instanceType
           
protected  Double instanceWeight
           
protected  List<Value> value
           
 
Constructor Summary
Instance()
           
 
Method Summary
 InstanceType getInstanceType()
          Gets the value of the instanceType property.
 Double getInstanceWeight()
          Gets the value of the instanceWeight property.
 List<Value> getValue()
          Gets the value of the value property.
 void setInstanceType(InstanceType value)
          Sets the value of the instanceType property.
 void setInstanceWeight(Double value)
          Sets the value of the instanceWeight property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected List<Value> value

instanceType

protected InstanceType instanceType

instanceWeight

protected Double instanceWeight
Constructor Detail

Instance

public Instance()
Method Detail

getValue

public List<Value> getValue()
Gets the value of the value 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 value property.

For example, to add a new item, do as follows:

    getValue().add(newItem);
 

Objects of the following type(s) are allowed in the list Value


getInstanceType

public InstanceType getInstanceType()
Gets the value of the instanceType property.

Returns:
possible object is InstanceType

setInstanceType

public void setInstanceType(InstanceType value)
Sets the value of the instanceType property.

Parameters:
value - allowed object is InstanceType

getInstanceWeight

public Double getInstanceWeight()
Gets the value of the instanceWeight property.

Returns:
possible object is Double

setInstanceWeight

public void setInstanceWeight(Double value)
Sets the value of the instanceWeight property.

Parameters:
value - allowed object is Double


Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.