Package com.sap.cds.reflect
Interface CdsService
- All Superinterfaces:
CdsAnnotatable
,CdsDefinition
,CdsNamed
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
accept
(CdsVisitor visitor) Accepts aCdsVisitor
visiting the elements of this definition (depth-first)actions()
Returns a sequentialStream
over allCdsAction
definitions in this service.entities()
Returns a sequentialStream
over allCdsEntity
definitions in this service.events()
Returns a sequentialStream
over allCdsEvent
definitions in this service.Returns a sequentialStream
over allCdsFunction
definitions in this service.default CdsKind
getKind()
Returns the kind of this definition.boolean
Returnstrue
if this service is abstract.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
-
Method Details
-
isAbstract
boolean isAbstract()Returnstrue
if this service is abstract.- Returns:
true
if this service is abstract, otherwisefalse
-
events
Returns a sequentialStream
over allCdsEvent
definitions in this service.- Returns:
- a sequential
Stream
over theCdsEvent
definitions
-
entities
Returns a sequentialStream
over allCdsEntity
definitions in this service.- Returns:
- a sequential
Stream
over theCdsEntity
definitions
-
functions
Stream<CdsFunction> functions()Returns a sequentialStream
over allCdsFunction
definitions in this service.- Returns:
- a sequential
Stream
over theCdsFunction
definitions
-
actions
Returns a sequentialStream
over allCdsAction
definitions in this service.- Returns:
- a sequential
Stream
over theCdsAction
definitions
-
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
-