Interface CdsService

All Superinterfaces:
CdsAnnotatable, CdsDefinition, CdsNamed

public interface CdsService extends CdsDefinition
  • Method Details

    • isAbstract

      boolean isAbstract()
      Returns true if this service is abstract.
      Returns:
      true if this service is abstract, otherwise false
    • events

      Stream<CdsEvent> events()
      Returns a sequential Stream over all CdsEvent definitions in this service.
      Returns:
      a sequential Stream over the CdsEvent definitions
    • entities

      Stream<CdsEntity> entities()
      Returns a sequential Stream over all CdsEntity definitions in this service.
      Returns:
      a sequential Stream over the CdsEntity definitions
    • functions

      Stream<CdsFunction> functions()
      Returns a sequential Stream over all CdsFunction definitions in this service.
      Returns:
      a sequential Stream over the CdsFunction definitions
    • actions

      Stream<CdsAction> actions()
      Returns a sequential Stream over all CdsAction definitions in this service.
      Returns:
      a sequential Stream over the CdsAction definitions
    • getKind

      default CdsKind getKind()
      Description copied from interface: CdsDefinition
      Returns the kind of this definition.
      Specified by:
      getKind in interface CdsDefinition
      Returns:
      the kind of this definition
    • accept

      default void accept(CdsVisitor visitor)
      Description copied from interface: CdsDefinition
      Accepts a CdsVisitor visiting the elements of this definition (depth-first)
      Specified by:
      accept in interface CdsDefinition
      Parameters:
      visitor - the CdsVisitor