Package com.sap.cds.reflect
Interface CdsAction
- All Superinterfaces:
CdsAnnotatable
,CdsDefinition
,CdsNamed
,CdsOperation
- All Known Subinterfaces:
CdsBoundAction
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
accept
(CdsVisitor visitor) Accepts aCdsVisitor
visiting the elements of this definition (depth-first)default CdsKind
getKind()
Returns the kind of this definition.Methods inherited from interface com.sap.cds.reflect.CdsAnnotatable
annotations, findAnnotation, getAnnotationValue
Methods inherited from interface com.sap.cds.reflect.CdsDefinition
as, getKey, getName, getQualifiedName, getQualifier
Methods inherited from interface com.sap.cds.reflect.CdsOperation
parameters
-
Method Details
-
returnType
- Returns:
- an
Optional
describing theCdsType
of this definition, or an emptyOptional
if the action does not have a return type
-
getKind
Description copied from interface:CdsDefinition
Returns the kind of this definition.- Specified by:
getKind
in interfaceCdsDefinition
- Returns:
- the kind of this definition
-
accept
Description copied from interface:CdsDefinition
Accepts aCdsVisitor
visiting the elements of this definition (depth-first)- Specified by:
accept
in interfaceCdsDefinition
- Parameters:
visitor
- theCdsVisitor
-