|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.ac.waikato.adams.webservice.weka.Instance
public class Instance
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 |
|---|
protected List<Value> value
protected InstanceType instanceType
protected Double instanceWeight
| Constructor Detail |
|---|
public Instance()
| Method Detail |
|---|
public List<Value> getValue()
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
public InstanceType getInstanceType()
InstanceTypepublic void setInstanceType(InstanceType value)
value - allowed object is
InstanceTypepublic Double getInstanceWeight()
Doublepublic void setInstanceWeight(Double value)
value - allowed object is
Double
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||