org.apache.type_test.types3
Class OccuringStruct2

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

public class OccuringStruct2
extends Object

Java class for OccuringStruct2 complex type.

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

 <complexType name="OccuringStruct2">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="varFloat" type="{http://www.w3.org/2001/XMLSchema}float"/>
         <sequence maxOccurs="5" minOccurs="2">
           <element name="varInt" type="{http://www.w3.org/2001/XMLSchema}int"/>
           <element name="varString" type="{http://www.w3.org/2001/XMLSchema}string"/>
         </sequence>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  float varFloat
           
protected  List<Serializable> varIntAndVarString
           
 
Constructor Summary
OccuringStruct2()
           
 
Method Summary
 float getVarFloat()
          Gets the value of the varFloat property.
 List<Serializable> getVarIntAndVarString()
          Gets the value of the varIntAndVarString property.
 void setVarFloat(float value)
          Sets the value of the varFloat property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

varFloat

protected float varFloat

varIntAndVarString

protected List<Serializable> varIntAndVarString
Constructor Detail

OccuringStruct2

public OccuringStruct2()
Method Detail

getVarFloat

public float getVarFloat()
Gets the value of the varFloat property.


setVarFloat

public void setVarFloat(float value)
Sets the value of the varFloat property.


getVarIntAndVarString

public List<Serializable> getVarIntAndVarString()
Gets the value of the varIntAndVarString 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 varIntAndVarString property.

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

    getVarIntAndVarString().add(newItem);
 

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



Apache CXF