Package com.sap.cds.reflect
Interface CdsStringType
- 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 length of thisCdsString.default CdsBaseTypegetType()Returns theCdsBaseTypeof thisCdsSimpleTypedefinition.booleanReturnstrueif thisCdsStringis localized.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
-
LENGTH
- See Also:
-
-
Method Details
-
isLocalized
boolean isLocalized()Returnstrueif thisCdsStringis localized.- Returns:
trueif 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: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
-