org.apache.type_test.types3
Class OccuringChoice1
java.lang.Object
org.apache.type_test.types3.OccuringChoice1
public class OccuringChoice1
- extends Object
Java class for OccuringChoice1 complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OccuringChoice1">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="varFloat" type="{http://www.w3.org/2001/XMLSchema}float"/>
<element name="varInt" type="{http://www.w3.org/2001/XMLSchema}int"/>
</choice>
</restriction>
</complexContent>
</complexType>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
varFloatOrVarInt
protected List<Comparable> varFloatOrVarInt
OccuringChoice1
public OccuringChoice1()
getVarFloatOrVarInt
public List<Comparable> getVarFloatOrVarInt()
- Gets the value of the varFloatOrVarInt 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 varFloatOrVarInt property.
For example, to add a new item, do as follows:
getVarFloatOrVarInt().add(newItem);
Objects of the following type(s) are allowed in the list
Float
Integer
Apache CXF