Class EdmTermImpl
java.lang.Object
org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
org.apache.olingo.commons.core.edm.AbstractEdmNamed
org.apache.olingo.commons.core.edm.EdmTermImpl
- All Implemented Interfaces:
EdmAnnotatable,EdmNamed,EdmTerm
-
Field Summary
Fields inherited from class org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
edm -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.olingo.commons.core.edm.AbstractEdmNamed
getName, toStringMethods inherited from class org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
getAnnotation, getAnnotationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.olingo.commons.api.edm.EdmAnnotatable
getAnnotation, getAnnotations
-
Constructor Details
-
EdmTermImpl
-
-
Method Details
-
getFullQualifiedName
- Specified by:
getFullQualifiedNamein interfaceEdmTerm- Returns:
- the fully qualified name of this term
-
getType
-
getBaseTerm
Description copied from interface:EdmTermWhen 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:
getBaseTermin interfaceEdmTerm- Returns:
- the base term if found or null otherwise
-
getAppliesTo
- Specified by:
getAppliesToin interfaceEdmTerm- 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:
isNullablein interfaceEdmTerm- Returns:
- true if nullable
-
getMaxLength
- Specified by:
getMaxLengthin interfaceEdmTerm- Returns:
- the maximum length as an Integer or null if not specified
-
getPrecision
- Specified by:
getPrecisionin interfaceEdmTerm- Returns:
- the precision as an Integer or null if not specified
-
getScale
-
getSrid
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceEdmTerm- Returns:
- the default value as a String or null if not specified
-