Class OccuringStruct2

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

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") 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 Details

    • varFloat

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") protected float varFloat
    • varIntAndVarString

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") protected List<Serializable> varIntAndVarString
  • Constructor Details

    • OccuringStruct2

      public OccuringStruct2()
  • Method Details

    • getVarFloat

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public float getVarFloat()
      Gets the value of the varFloat property.
    • setVarFloat

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public void setVarFloat(float value)
      Sets the value of the varFloat property.
    • getVarIntAndVarString

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") 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 Jakarta XML Binding 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