Class OccuringChoice1

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

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:14-04:00") public class OccuringChoice1 extends Object

Java class for OccuringChoice1 complex type.

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

 <complexType name="OccuringChoice1">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="varFloat" type="{http://www.w3.org/2001/XMLSchema}float"/>
         <element name="varInt" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • varFloatOrVarInt

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

    • OccuringChoice1

      public OccuringChoice1()
  • Method Details

    • getVarFloatOrVarInt

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:14-04:00") public List<Comparable> getVarFloatOrVarInt()
      Gets the value of the varFloatOrVarInt 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 varFloatOrVarInt property.

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

          getVarFloatOrVarInt().add(newItem);
       

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