Class TEnumType


  • public class TEnumType
    extends Object

    Java class for TEnumType complex type.

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

     <complexType name="TEnumType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice maxOccurs="unbounded">
             <element name="Member" type="{http://docs.oasis-open.org/odata/ns/edm}TEnumTypeMember"/>
             <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation"/>
           </choice>
           <attGroup ref="{http://docs.oasis-open.org/odata/ns/edm}TTypeAttributes"/>
           <attribute name="IsFlags" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="UnderlyingType" type="{http://docs.oasis-open.org/odata/ns/edm}TTypeName" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • memberOrAnnotation

        protected List<Object> memberOrAnnotation
      • isFlags

        protected Boolean isFlags
      • underlyingType

        protected List<String> underlyingType
    • Constructor Detail

      • TEnumType

        public TEnumType()
    • Method Detail

      • getMemberOrAnnotation

        public List<Object> getMemberOrAnnotation()
        Gets the value of the memberOrAnnotation 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 memberOrAnnotation property.

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

            getMemberOrAnnotation().add(newItem);
         

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

      • isIsFlags

        public Boolean isIsFlags()
        Gets the value of the isFlags property.
        Returns:
        possible object is Boolean
      • setIsFlags

        public void setIsFlags​(Boolean value)
        Sets the value of the isFlags property.
        Parameters:
        value - allowed object is Boolean
      • getUnderlyingType

        public List<String> getUnderlyingType()
        Gets the value of the underlyingType 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 underlyingType property.

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

            getUnderlyingType().add(newItem);
         

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

      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String