org.apache.type_test.types3
Class StructWithOccuringStruct

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

@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 StructWithOccuringStruct
extends Object

Java class for StructWithOccuringStruct complex type.

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

 <complexType name="StructWithOccuringStruct">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="varInteger" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <sequence maxOccurs="unbounded" minOccurs="0">
           <element name="varInt" type="{http://www.w3.org/2001/XMLSchema}int"/>
           <element name="varFloat" type="{http://www.w3.org/2001/XMLSchema}float"/>
         </sequence>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Comparable> varIntAndVarFloat
           
protected  int varInteger
           
 
Constructor Summary
StructWithOccuringStruct()
           
 
Method Summary
 List<Comparable> getVarIntAndVarFloat()
          Gets the value of the varIntAndVarFloat property.
 int getVarInteger()
          Gets the value of the varInteger property.
 void setVarInteger(int value)
          Sets the value of the varInteger property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

varInteger

@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 int varInteger

varIntAndVarFloat

@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<Comparable> varIntAndVarFloat
Constructor Detail

StructWithOccuringStruct

public StructWithOccuringStruct()
Method Detail

getVarInteger

@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 int getVarInteger()
Gets the value of the varInteger property.


setVarInteger

@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 setVarInteger(int value)
Sets the value of the varInteger property.


getVarIntAndVarFloat

@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<Comparable> getVarIntAndVarFloat()
Gets the value of the varIntAndVarFloat 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 varIntAndVarFloat property.

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

    getVarIntAndVarFloat().add(newItem);
 

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



Apache CXF