Class EdmTermImpl

All Implemented Interfaces:
EdmAnnotatable, EdmNamed, EdmTerm

public class EdmTermImpl extends AbstractEdmNamed implements EdmTerm
  • Constructor Details

  • Method Details

    • getFullQualifiedName

      public FullQualifiedName getFullQualifiedName()
      Specified by:
      getFullQualifiedName in interface EdmTerm
      Returns:
      the fully qualified name of this term
    • getType

      public EdmType getType()
      Specified by:
      getType in interface EdmTerm
      Returns:
      type of value returned by the expression contained in an annotation using this term
    • getBaseTerm

      public EdmTerm getBaseTerm()
      Description copied from interface: EdmTerm
      When applying a term with a base term,the base term MUST also be applied with the same qualifier, and so on until a term without a base term is reached.
      Specified by:
      getBaseTerm in interface EdmTerm
      Returns:
      the base term if found or null otherwise
    • getAppliesTo

      public List<TargetType> getAppliesTo()
      Specified by:
      getAppliesTo in interface EdmTerm
      Returns:
      list of CSDL element that this term can be applied to; if no value is supplied, the term is not restricted in its application.
    • isNullable

      public boolean isNullable()
      Specified by:
      isNullable in interface EdmTerm
      Returns:
      true if nullable
    • getMaxLength

      public Integer getMaxLength()
      Specified by:
      getMaxLength in interface EdmTerm
      Returns:
      the maximum length as an Integer or null if not specified
    • getPrecision

      public Integer getPrecision()
      Specified by:
      getPrecision in interface EdmTerm
      Returns:
      the precision as an Integer or null if not specified
    • getScale

      public Integer getScale()
      Specified by:
      getScale in interface EdmTerm
      Returns:
      the scale as an Integer or null if not specified
    • getSrid

      public SRID getSrid()
      Specified by:
      getSrid in interface EdmTerm
      Returns:
      a non-negative integer or the special value variable
    • getDefaultValue

      public String getDefaultValue()
      Specified by:
      getDefaultValue in interface EdmTerm
      Returns:
      the default value as a String or null if not specified