Interface EdmTypeDefinition
- All Superinterfaces:
EdmAnnotatable
,EdmNamed
,EdmPrimitiveType
,EdmType
An
For more information on primitive types refer to
EdmTypeDefinition
defines a specialization of one of the possible primitive types.
For more information on primitive types refer to
EdmPrimitiveType
.-
Field Summary
Fields inherited from interface org.apache.olingo.commons.api.edm.EdmPrimitiveType
EDM_NAMESPACE
-
Method Summary
Methods inherited from interface org.apache.olingo.commons.api.edm.EdmAnnotatable
getAnnotation, getAnnotations
Methods inherited from interface org.apache.olingo.commons.api.edm.EdmPrimitiveType
fromUriLiteral, getDefaultType, isCompatible, toUriLiteral, validate, validateDecimals, valueOfString, valueToString
Methods inherited from interface org.apache.olingo.commons.api.edm.EdmType
getFullQualifiedName, getKind, getNamespace
-
Method Details
-
getUnderlyingType
EdmPrimitiveType getUnderlyingType()- Returns:
EdmPrimitiveType
this type definition is based upon
-
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
-
isUnicode
Boolean isUnicode()- Returns:
- true if unicode or null if not specified
-