org.apache.type_test.types3
Class OccuringChoice

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

public class OccuringChoice
extends java.lang.Object

Java class for OccuringChoice complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="OccuringChoice">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="5">
         <element name="varFloat" type="{http://www.w3.org/2001/XMLSchema}float"/>
         <element name="varInt" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="varString" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </choice>
       <attribute name="varAttrib" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String varAttrib
           
protected  java.util.List<java.io.Serializable> varFloatOrVarIntOrVarString
           
 
Constructor Summary
OccuringChoice()
           
 
Method Summary
 java.lang.String getVarAttrib()
          Gets the value of the varAttrib property.
 java.util.List<java.io.Serializable> getVarFloatOrVarIntOrVarString()
          Gets the value of the varFloatOrVarIntOrVarString property.
 void setVarAttrib(java.lang.String value)
          Sets the value of the varAttrib property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

varFloatOrVarIntOrVarString

protected java.util.List<java.io.Serializable> varFloatOrVarIntOrVarString

varAttrib

protected java.lang.String varAttrib
Constructor Detail

OccuringChoice

public OccuringChoice()
Method Detail

getVarFloatOrVarIntOrVarString

public java.util.List<java.io.Serializable> getVarFloatOrVarIntOrVarString()
Gets the value of the varFloatOrVarIntOrVarString 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 varFloatOrVarIntOrVarString property.

For example, to add a new item, do as follows:

    getVarFloatOrVarIntOrVarString().add(newItem);
 

Objects of the following type(s) are allowed in the list String Integer Float


getVarAttrib

public java.lang.String getVarAttrib()
Gets the value of the varAttrib property.

Returns:
possible object is String

setVarAttrib

public void setVarAttrib(java.lang.String value)
Sets the value of the varAttrib property.

Parameters:
value - allowed object is String


Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.