org.apache.type_test.types3
Class StructWithOccuringStruct

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

public class StructWithOccuringStruct
extends java.lang.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  java.util.List<java.lang.Comparable> varIntAndVarFloat
           
protected  int varInteger
           
 
Constructor Summary
StructWithOccuringStruct()
           
 
Method Summary
 java.util.List<java.lang.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

protected int varInteger

varIntAndVarFloat

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

StructWithOccuringStruct

public StructWithOccuringStruct()
Method Detail

getVarInteger

public int getVarInteger()
Gets the value of the varInteger property.


setVarInteger

public void setVarInteger(int value)
Sets the value of the varInteger property.


getVarIntAndVarFloat

public java.util.List<java.lang.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 is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.