public interface CdsService extends CdsDefinition
Modifier and Type | Method and Description |
---|---|
default void |
accept(CdsVisitor visitor)
Accepts a
CdsVisitor visiting the elements of this definition
(depth-first) |
Stream<CdsAction> |
actions()
Returns a sequential
Stream over all CdsAction definitions in
this service. |
Stream<CdsEntity> |
entities()
Returns a sequential
Stream over all CdsEntity definitions in
this service. |
Stream<CdsEvent> |
events()
Returns a sequential
Stream over all CdsEvent definitions in
this service. |
Stream<CdsFunction> |
functions()
Returns a sequential
Stream over all CdsFunction definitions
in this service. |
default CdsKind |
getKind()
Returns the kind of this definition.
|
boolean |
isAbstract()
Returns
true if this service is abstract. |
as, byNamespace, getName, getQualifiedName, getQualifier
annotations, byAnnotation, findAnnotation, getAnnotationValue
boolean isAbstract()
true
if this service is abstract.true
if this service is abstract, otherwise false
Stream<CdsEvent> events()
Stream
over all CdsEvent
definitions in
this service.Stream
over the CdsEvent
definitionsStream<CdsEntity> entities()
Stream
over all CdsEntity
definitions in
this service.Stream
over the CdsEntity
definitionsStream<CdsFunction> functions()
Stream
over all CdsFunction
definitions
in this service.Stream
over the CdsFunction
definitionsStream<CdsAction> actions()
Stream
over all CdsAction
definitions in
this service.Stream
over the CdsAction
definitionsdefault CdsKind getKind()
CdsDefinition
getKind
in interface CdsDefinition
default void accept(CdsVisitor visitor)
CdsDefinition
CdsVisitor
visiting the elements of this definition
(depth-first)accept
in interface CdsDefinition
visitor
- the CdsVisitor
Copyright © 2021 SAP. All rights reserved.