public class Weights extends BaseResources
Java class for Weights complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Weights">
<complexContent>
<extension base="{}BaseResources">
<sequence>
<element ref="{}weight" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Weights() |
| Modifier and Type | Method and Description |
|---|---|
List<Weight> |
getWeights()
Gets the value of the weights property.
|
boolean |
isSetWeights() |
void |
unsetWeights() |
getActive, getTotal, isSetActive, isSetTotal, setActive, setTotalgetActions, isSetActions, setActionspublic List<Weight> getWeights()
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 weights property.
For example, to add a new item, do as follows:
getWeights().add(newItem);
Objects of the following type(s) are allowed in the list
Weight
public boolean isSetWeights()
public void unsetWeights()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0