Class TTypeDefinition


  • public class TTypeDefinition
    extends Object

    Java class for TTypeDefinition complex type.

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

     <complexType name="TTypeDefinition">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attGroup ref="{http://docs.oasis-open.org/odata/ns/edm}TFacetAttributes"/>
           <attribute name="Name" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TSimpleIdentifier" />
           <attribute name="UnderlyingType" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TPrimitiveType" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • TTypeDefinition

        public TTypeDefinition()
    • Method Detail

      • getAnnotation

        public List<Annotation> getAnnotation()
        Gets the value of the annotation 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 annotation property.

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

            getAnnotation().add(newItem);
         

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

      • 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
      • getUnderlyingType

        public String getUnderlyingType()
        Gets the value of the underlyingType property.
        Returns:
        possible object is String
      • setUnderlyingType

        public void setUnderlyingType​(String value)
        Sets the value of the underlyingType property.
        Parameters:
        value - allowed object is String
      • getMaxLength

        public String getMaxLength()
        Gets the value of the maxLength property.
        Returns:
        possible object is String
      • setMaxLength

        public void setMaxLength​(String value)
        Sets the value of the maxLength property.
        Parameters:
        value - allowed object is String
      • getPrecision

        public BigInteger getPrecision()
        Gets the value of the precision property.
        Returns:
        possible object is BigInteger
      • setPrecision

        public void setPrecision​(BigInteger value)
        Sets the value of the precision property.
        Parameters:
        value - allowed object is BigInteger
      • getScale

        public String getScale()
        Gets the value of the scale property.
        Returns:
        possible object is String
      • setScale

        public void setScale​(String value)
        Sets the value of the scale property.
        Parameters:
        value - allowed object is String
      • getSRID

        public String getSRID()
        Gets the value of the srid property.
        Returns:
        possible object is String
      • setSRID

        public void setSRID​(String value)
        Sets the value of the srid property.
        Parameters:
        value - allowed object is String
      • isUnicode

        public Boolean isUnicode()
        Gets the value of the unicode property.
        Returns:
        possible object is Boolean
      • setUnicode

        public void setUnicode​(Boolean value)
        Sets the value of the unicode property.
        Parameters:
        value - allowed object is Boolean