Class StructWithUnion

java.lang.Object
org.apache.type_test.types1.StructWithUnion

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-05-02T16:18:56-04: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 Details

    • varUnion

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-05-02T16:18:56-04:00") protected String varUnion
    • attribUnion

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-05-02T16:18:56-04:00") protected String attribUnion
  • Constructor Details

    • StructWithUnion

      public StructWithUnion()
  • Method Details

    • getVarUnion

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-05-02T16:18:56-04: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 v3.0.2", date="2023-05-02T16:18:56-04: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 v3.0.2", date="2023-05-02T16:18:56-04: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 v3.0.2", date="2023-05-02T16:18:56-04:00") public void setAttribUnion(String value)
      Sets the value of the attribUnion property.
      Parameters:
      value - allowed object is String