org.apache.type_test.types3
Class OccuringChoice

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

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-10-02T03:03:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public class OccuringChoice
extends 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  String varAttrib
           
protected  List<Serializable> varFloatOrVarIntOrVarString
           
 
Constructor Summary
OccuringChoice()
           
 
Method Summary
 String getVarAttrib()
          Gets the value of the varAttrib property.
 List<Serializable> getVarFloatOrVarIntOrVarString()
          Gets the value of the varFloatOrVarIntOrVarString property.
 void setVarAttrib(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

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-10-02T03:03:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected List<Serializable> varFloatOrVarIntOrVarString

varAttrib

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-10-02T03:03:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected String varAttrib
Constructor Detail

OccuringChoice

public OccuringChoice()
Method Detail

getVarFloatOrVarIntOrVarString

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-10-02T03:03:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public List<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 Float Integer


getVarAttrib

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-10-02T03:03:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public String getVarAttrib()
Gets the value of the varAttrib property.

Returns:
possible object is String

setVarAttrib

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-10-02T03:03:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public void setVarAttrib(String value)
Sets the value of the varAttrib property.

Parameters:
value - allowed object is String


Apache CXF