Package com.sap.cds.reflect
Interface CdsStringType
- 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 length of thisCdsString
.default CdsBaseType
getType()
Returns theCdsBaseType
of thisCdsSimpleType
definition.boolean
Returnstrue
if thisCdsString
is localized.Methods inherited from interface com.sap.cds.reflect.CdsAnnotatable
annotations, findAnnotation, getAnnotationValue
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
-
LENGTH
- See Also:
-
-
Method Details
-
isLocalized
boolean isLocalized()Returnstrue
if thisCdsString
is localized.- Returns:
true
if this String type is localized, otherwisefalse
-
getLength
Returns the length of thisCdsString
. The default is 5000.- Returns:
- the length of this String 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
-