Package com.sap.cds.reflect
Interface CdsDecimal
- All Superinterfaces:
CdsAnnotatable,CdsDefinition,CdsNamed,CdsSimpleType,CdsType
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Class<?>Returns the Java type of thisCdsSimpleTypedefinition.default IntegerReturns the precision of thisCdsDecimal.default IntegergetScale()Returns the scale of thisCdsDecimal.default CdsBaseTypegetType()Returns theCdsBaseTypeof thisCdsSimpleTypedefinition.Methods inherited from interface com.sap.cds.reflect.CdsAnnotatable
annotations, findAnnotation, getAnnotationValue, getDocMethods inherited from interface com.sap.cds.reflect.CdsDefinition
as, getKey, getKind, getName, getQualifierMethods inherited from interface com.sap.cds.reflect.CdsSimpleType
accept, defaultValue, get, getQualifiedName, isSimple, isSimpleTypeMethods inherited from interface com.sap.cds.reflect.CdsType
isArrayed, isAssociation, isEnum, isStructured, isSymbolicType
-
Field Details
-
PRECISION
- See Also:
-
SCALE
- See Also:
-
-
Method Details
-
getPrecision
Returns the precision of thisCdsDecimal.- Returns:
- the precision of this Decimal type, not
null
-
getScale
Returns the scale of thisCdsDecimal.- Returns:
- the scale of this Decimal type, not
null
-
getType
Description copied from interface:CdsSimpleTypeReturns theCdsBaseTypeof thisCdsSimpleTypedefinition.- Specified by:
getTypein interfaceCdsSimpleType- Returns:
- the
CdsBaseTypeof this simple type definition, notnull
-
getJavaType
Description copied from interface:CdsSimpleTypeReturns the Java type of thisCdsSimpleTypedefinition.- Specified by:
getJavaTypein interfaceCdsSimpleType- Returns:
- the Java type of this simple type definition, not
null
-