Package com.sap.cds.reflect
Interface CdsFunction
- All Superinterfaces:
CdsAnnotatable,CdsDefinition,CdsNamed,CdsOperation
- All Known Subinterfaces:
CdsBoundFunction
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaccept(CdsVisitor visitor) Accepts aCdsVisitorvisiting the elements of this definition (depth-first)default CdsKindgetKind()Returns the kind of this definition.Returns the return type of thisCdsFunction.Methods inherited from interface com.sap.cds.reflect.CdsAnnotatable
annotations, findAnnotation, getAnnotationValueMethods inherited from interface com.sap.cds.reflect.CdsDefinition
as, getKey, getName, getQualifiedName, getQualifierMethods inherited from interface com.sap.cds.reflect.CdsOperation
parameters
-
Method Details
-
getReturnType
CdsType getReturnType()Returns the return type of thisCdsFunction.- Returns:
- the return type of this function, not
null
-
getKind
Description copied from interface:CdsDefinitionReturns the kind of this definition.- Specified by:
getKindin interfaceCdsDefinition- Returns:
- the kind of this definition
-
accept
Description copied from interface:CdsDefinitionAccepts aCdsVisitorvisiting the elements of this definition (depth-first)- Specified by:
acceptin interfaceCdsDefinition- Parameters:
visitor- theCdsVisitor
-