org.apache.type_test.types3
Class OccuringChoice1

java.lang.Object
  extended by org.apache.type_test.types3.OccuringChoice1

public class OccuringChoice1
extends java.lang.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>
 


Field Summary
protected  java.util.List<java.lang.Comparable> varFloatOrVarInt
           
 
Constructor Summary
OccuringChoice1()
           
 
Method Summary
 java.util.List<java.lang.Comparable> getVarFloatOrVarInt()
          Gets the value of the varFloatOrVarInt property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

varFloatOrVarInt

protected java.util.List<java.lang.Comparable> varFloatOrVarInt
Constructor Detail

OccuringChoice1

public OccuringChoice1()
Method Detail

getVarFloatOrVarInt

public java.util.List<java.lang.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