Interface EdmCast
- All Superinterfaces:
EdmAnnotatable
,EdmDynamicExpression
,EdmExpression
Represents an edm:Cast expression.
Casts the value obtained from its single child expression to the specified type
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.olingo.commons.api.edm.annotation.EdmExpression
EdmExpression.EdmExpressionType
-
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.annotation.EdmDynamicExpression
asAnd, asAnnotationPath, asApply, asCast, asCollection, asEq, asGe, asGt, asIf, asIsOf, asLabeledElement, asLabeledElementReference, asLe, asLt, asNavigationPropertyPath, asNe, asNot, asNull, asOr, asPath, asPropertyPath, asPropertyValue, asRecord, asUrlRef, isAnd, isAnnotationPath, isApply, isCast, isCollection, isEq, isGe, isGt, isIf, isIsOf, isLabeledElement, isLabeledElementReference, isLe, isLt, isNavigationPropertyPath, isNe, isNot, isNull, isOr, isPath, isPropertyPath, isPropertyValue, isRecord, isUrlRef
Methods inherited from interface org.apache.olingo.commons.api.edm.annotation.EdmExpression
asConstant, asDynamic, getExpressionName, getExpressionType, isConstant, isDynamic
-
Method Details
-
getMaxLength
Integer getMaxLength()Returns the facet attribute MaxLength- Returns:
- Returns the facet attribute MaxLength
-
getPrecision
Integer getPrecision()Returns the facet attribute Precision- Returns:
- Returns the facet attribute Precision
-
getScale
Integer getScale()Returns the facet attribute Scale- Returns:
- Returns the facet attribute Scale
-
getSrid
SRID getSrid()Returns the facet attribute SRID- Returns:
- Returns the facet attribute SRID
-
getType
EdmType getType()Value cast to- Returns:
- value cast to
-
getValue
EdmExpression getValue()Cast value of the expression- Returns:
- Cast value
-