Class StructWithOptionals


  • @Generated(value="com.sun.tools.xjc.Driver",
               comments="JAXB RI v2.3.5",
               date="2023-06-06T11:29:23-04:00")
    public class StructWithOptionals
    extends Object

    Java class for StructWithOptionals complex type.

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

     <complexType name="StructWithOptionals">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="varFloat" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
             <element name="varInt" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
             <element name="varString" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="varStruct" type="{http://apache.org/type_test/types1}SimpleStruct" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • varFloat

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-06-06T11:29:23-04:00")
        protected Float varFloat
      • varInt

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-06-06T11:29:23-04:00")
        protected Integer varInt
      • varString

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-06-06T11:29:23-04:00")
        protected String varString
      • varStruct

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-06-06T11:29:23-04:00")
        protected SimpleStruct varStruct
    • Constructor Detail

      • StructWithOptionals

        public StructWithOptionals()
    • Method Detail

      • getVarFloat

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-06-06T11:29:23-04:00")
        public Float getVarFloat()
        Gets the value of the varFloat property.
        Returns:
        possible object is Float
      • setVarFloat

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-06-06T11:29:23-04:00")
        public void setVarFloat​(Float value)
        Sets the value of the varFloat property.
        Parameters:
        value - allowed object is Float
      • getVarInt

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-06-06T11:29:23-04: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="2023-06-06T11:29:23-04: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="2023-06-06T11:29:23-04: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="2023-06-06T11:29:23-04:00")
        public void setVarString​(String value)
        Sets the value of the varString property.
        Parameters:
        value - allowed object is String
      • getVarStruct

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-06-06T11:29:23-04:00")
        public SimpleStruct getVarStruct()
        Gets the value of the varStruct property.
        Returns:
        possible object is SimpleStruct
      • setVarStruct

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-06-06T11:29:23-04:00")
        public void setVarStruct​(SimpleStruct value)
        Sets the value of the varStruct property.
        Parameters:
        value - allowed object is SimpleStruct