Package com.sap.cds.reflect
Interface CdsDecimal
- All Superinterfaces:
CdsAnnotatable
,CdsDefinition
,CdsNamed
,CdsSimpleType
,CdsType
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault Class<?>
Returns the Java type of thisCdsSimpleType
definition.default Integer
Returns the precision of thisCdsDecimal
.default Integer
getScale()
Returns the scale of thisCdsDecimal
.default CdsBaseType
getType()
Returns theCdsBaseType
of thisCdsSimpleType
definition.Methods inherited from interface com.sap.cds.reflect.CdsAnnotatable
annotations, findAnnotation, getAnnotationValue, getDoc
Methods inherited from interface com.sap.cds.reflect.CdsDefinition
as, getKey, getKind, getName, getQualifier
Methods inherited from interface com.sap.cds.reflect.CdsSimpleType
accept, defaultValue, get, getQualifiedName, isSimple, isSimpleType
Methods 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:CdsSimpleType
Returns theCdsBaseType
of thisCdsSimpleType
definition.- Specified by:
getType
in interfaceCdsSimpleType
- Returns:
- the
CdsBaseType
of this simple type definition, notnull
-
getJavaType
Description copied from interface:CdsSimpleType
Returns the Java type of thisCdsSimpleType
definition.- Specified by:
getJavaType
in interfaceCdsSimpleType
- Returns:
- the Java type of this simple type definition, not
null
-