Class OccuringChoice

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

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.5", date="2024-12-09T12:26:01-05:00") public class OccuringChoice extends Object

Java class for OccuringChoice complex type

.

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


 <complexType name="OccuringChoice">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="5">
         <element name="varFloat" type="{http://www.w3.org/2001/XMLSchema}float"/>
         <element name="varInt" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="varString" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </choice>
       <attribute name="varAttrib" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • varFloatOrVarIntOrVarString

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.5", date="2024-12-09T12:26:01-05:00") protected List<Serializable> varFloatOrVarIntOrVarString
    • varAttrib

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.5", date="2024-12-09T12:26:01-05:00") protected String varAttrib
  • Constructor Details

    • OccuringChoice

      public OccuringChoice()
  • Method Details

    • getVarFloatOrVarIntOrVarString

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.5", date="2024-12-09T12:26:01-05:00") public List<Serializable> getVarFloatOrVarIntOrVarString()
      Gets the value of the varFloatOrVarIntOrVarString 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 varFloatOrVarIntOrVarString property.

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

       getVarFloatOrVarIntOrVarString().add(newItem);
       

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

      Returns:
      The value of the varFloatOrVarIntOrVarString property.
    • getVarAttrib

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.5", date="2024-12-09T12:26:01-05:00") public String getVarAttrib()
      Gets the value of the varAttrib property.
      Returns:
      possible object is String
    • setVarAttrib

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.5", date="2024-12-09T12:26:01-05:00") public void setVarAttrib(String value)
      Sets the value of the varAttrib property.
      Parameters:
      value - allowed object is String