Class Instance
- java.lang.Object
-
- nz.ac.waikato.adams.webservice.meka.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://meka.webservice.adams.waikato.ac.nz/}value" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="instanceType" type="{http://meka.webservice.adams.waikato.ac.nz/}InstanceType" default="normal" /> <attribute name="instanceWeight" type="{http://www.w3.org/2001/XMLSchema}double" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected InstanceType
instanceType
protected Double
instanceWeight
protected List<Value>
value
-
Constructor Summary
Constructors Constructor Description Instance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Field Detail
-
instanceType
protected InstanceType instanceType
-
instanceWeight
protected Double instanceWeight
-
-
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 isInstanceType
-
getInstanceWeight
public Double getInstanceWeight()
Gets the value of the instanceWeight property.- Returns:
- possible object is
Double
-
-