Class ComplexChoice


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

    Java class for ComplexChoice complex type.

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

     <complexType name="ComplexChoice">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice>
             <element name="varFloat" type="{http://www.w3.org/2001/XMLSchema}float"/>
             <element name="varDerivedStruct" type="{http://apache.org/type_test/types1}DerivedChoiceBaseComplex"/>
           </choice>
           <anyAttribute/>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • varFloat

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

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

      • ComplexChoice

        public ComplexChoice()
    • Method Detail

      • getVarFloat

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05: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="2024-03-07T12:28:40-05:00")
        public void setVarFloat​(Float value)
        Sets the value of the varFloat property.
        Parameters:
        value - allowed object is Float
      • getVarDerivedStruct

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

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

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05:00")
        public Map<QName,​String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null