Class Choices.Choice

  • Enclosing class:
    Choices

    @Generated(value="com.sun.tools.xjc.Driver",
               comments="JAXB RI v3.0.2",
               date="2024-11-14T04:42:51Z")
    public static class Choices.Choice
    extends java.lang.Object

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="name" type="{http://www.w3.org/2001/XMLSchema}Name"/>
             <element name="enumeration" maxOccurs="unbounded">
               <complexType>
                 <simpleContent>
                   <extension base="<http://www.w3.org/2001/XMLSchema>string">
                     <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
                     <attribute name="help" type="{http://www.w3.org/2001/XMLSchema}string" />
                   </extension>
                 </simpleContent>
               </complexType>
             </element>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Choices.Choice.Enumeration
      Java class for anonymous complex type.
    • Constructor Summary

      Constructors 
      Constructor Description
      Choice()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Choices.Choice.Enumeration> getEnumeration()
      Gets the value of the enumeration property.
      java.lang.String getName()
      Gets the value of the name property.
      void setName​(java.lang.String value)
      Sets the value of the name property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v3.0.2",
                   date="2024-11-14T04:42:51Z")
        protected java.lang.String name
      • enumeration

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v3.0.2",
                   date="2024-11-14T04:42:51Z")
        protected java.util.List<Choices.Choice.Enumeration> enumeration
    • Constructor Detail

      • Choice

        public Choice()
    • Method Detail

      • getName

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v3.0.2",
                   date="2024-11-14T04:42:51Z")
        public java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v3.0.2",
                   date="2024-11-14T04:42:51Z")
        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getEnumeration

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v3.0.2",
                   date="2024-11-14T04:42:51Z")
        public java.util.List<Choices.Choice.Enumeration> getEnumeration()
        Gets the value of the enumeration property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the enumeration property.

        For example, to add a new item, do as follows:

            getEnumeration().add(newItem);
         

        Objects of the following type(s) are allowed in the list Choices.Choice.Enumeration