Class ExtColourEnum


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

    Java class for ExtColourEnum complex type.

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

     <complexType name="ExtColourEnum">
       <simpleContent>
         <extension base="<http://apache.org/type_test/types1>ColourEnum">
           <attribute name="attrib1" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="attrib2">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                 <maxLength value="2"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="attrib3">
             <simpleType>
               <list itemType="{http://www.w3.org/2001/XMLSchema}string" />
             </simpleType>
           </attribute>
         </extension>
       </simpleContent>
     </complexType>
     
    • Field Detail

      • value

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

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

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

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

      • ExtColourEnum

        public ExtColourEnum()
    • Method Detail

      • getValue

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

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

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

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

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

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

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-06-06T11:29:23-04:00")
        public List<String> getAttrib3()
        Gets the value of the attrib3 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 JAXB object. This is why there is not a set method for the attrib3 property.

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

            getAttrib3().add(newItem);
         

        Objects of the following type(s) are allowed in the list String