Interface EdmTerm
- All Superinterfaces:
EdmAnnotatable
,EdmNamed
An
EdmTerm
defines a term in a vocabulary.-
Method Summary
Methods inherited from interface org.apache.olingo.commons.api.edm.EdmAnnotatable
getAnnotation, getAnnotations
-
Method Details
-
getType
EdmType getType()- Returns:
- type of value returned by the expression contained in an annotation using this term
-
getFullQualifiedName
FullQualifiedName getFullQualifiedName()- Returns:
- the fully qualified name of this term
-
getBaseTerm
EdmTerm getBaseTerm()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.- Returns:
- the base term if found or null otherwise
-
getAppliesTo
List<TargetType> getAppliesTo()- 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
boolean isNullable()- Returns:
- true if nullable
-
getMaxLength
Integer getMaxLength()- Returns:
- the maximum length as an Integer or null if not specified
-
getPrecision
Integer getPrecision()- Returns:
- the precision as an Integer or null if not specified
-
getScale
Integer getScale()- Returns:
- the scale as an Integer or null if not specified
-
getSrid
SRID getSrid()- Returns:
- a non-negative integer or the special value variable
-
getDefaultValue
String getDefaultValue()- Returns:
- the default value as a String or null if not specified
-