Class StructWithNillableChoice


  • @Generated(value="com.sun.tools.xjc.Driver",
               comments="JAXB RI v2.3.5",
               date="2024-03-07T12:28:40-05:00")
    public class StructWithNillableChoice
    extends Object

    Java class for StructWithNillableChoice complex type.

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

     <complexType name="StructWithNillableChoice">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="varInteger" type="{http://www.w3.org/2001/XMLSchema}int"/>
             <choice minOccurs="0">
               <element name="varInt" type="{http://www.w3.org/2001/XMLSchema}int"/>
               <element name="varString" type="{http://www.w3.org/2001/XMLSchema}string"/>
             </choice>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • varInteger

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05:00")
        protected int varInteger
      • varInt

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05:00")
        protected Integer varInt
      • varString

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05:00")
        protected String varString
    • Constructor Detail

      • StructWithNillableChoice

        public StructWithNillableChoice()
    • Method Detail

      • getVarInteger

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05:00")
        public int getVarInteger()
        Gets the value of the varInteger property.
      • setVarInteger

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05:00")
        public void setVarInteger​(int value)
        Sets the value of the varInteger property.
      • getVarInt

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05:00")
        public Integer getVarInt()
        Gets the value of the varInt property.
        Returns:
        possible object is Integer
      • setVarInt

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05:00")
        public void setVarInt​(Integer value)
        Sets the value of the varInt property.
        Parameters:
        value - allowed object is Integer
      • getVarString

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05:00")
        public String getVarString()
        Gets the value of the varString property.
        Returns:
        possible object is String
      • setVarString

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05:00")
        public void setVarString​(String value)
        Sets the value of the varString property.
        Parameters:
        value - allowed object is String