Class StructWithOccuringStruct

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

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:14-04:00") 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 Details

    • varInteger

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:14-04:00") protected int varInteger
    • varIntAndVarFloat

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:14-04:00") protected List<Comparable> varIntAndVarFloat
  • Constructor Details

    • StructWithOccuringStruct

      public StructWithOccuringStruct()
  • Method Details

    • getVarInteger

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:14-04:00") public int getVarInteger()
      Gets the value of the varInteger property.
    • setVarInteger

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:14-04:00") public void setVarInteger(int value)
      Sets the value of the varInteger property.
    • getVarIntAndVarFloat

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:14-04:00") 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 Jakarta XML Binding 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