Interface CdsAction

All Superinterfaces:
CdsAnnotatable, CdsDefinition, CdsNamed, CdsOperation
All Known Subinterfaces:
CdsBoundAction

public interface CdsAction extends CdsOperation
  • Method Details

    • returnType

      Optional<CdsType> returnType()
      Returns an Optional wrapping the CdsType of this CdsAction.
      Returns:
      an Optional describing the CdsType of this definition, or an empty Optional if the action does not have a return type
    • 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