Package com.sap.cds.reflect
Interface CdsArrayedType
- All Superinterfaces:
CdsAnnotatable
,CdsDefinition
,CdsNamed
,CdsType
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
accept
(CdsVisitor visitor) Accepts aCdsVisitor
visiting the elements of this definition (depth-first)Returns the items' type of thisCdsArrayedType
.default boolean
Returnstrue
if this is an arrayed type.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, getQualifiedName, getQualifier
Methods inherited from interface com.sap.cds.reflect.CdsType
isAssociation, isEnum, isSimple, isSimpleType, isStructured, isSymbolicType
-
Method Details
-
getItemsType
CdsType getItemsType()Returns the items' type of thisCdsArrayedType
.- Returns:
- the items' type of this arrayed type, not
null
-
isArrayed
default boolean isArrayed()Description copied from interface:CdsType
Returnstrue
if this is an arrayed type. -
accept
Description copied from interface:CdsDefinition
Accepts aCdsVisitor
visiting the elements of this definition (depth-first)- Specified by:
accept
in interfaceCdsDefinition
- Parameters:
visitor
- theCdsVisitor
-