Class StructWithUnion


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

    Java class for StructWithUnion complex type.

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

     <complexType name="StructWithUnion">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="varUnion" type="{http://apache.org/type_test/types1}SimpleUnion"/>
           </sequence>
           <attribute name="attribUnion" type="{http://apache.org/type_test/types1}SimpleUnion" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • varUnion

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

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

      • StructWithUnion

        public StructWithUnion()
    • Method Detail

      • getVarUnion

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

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

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

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