Interface OperationDefinition

All Superinterfaces:
DocumentedNode, DocumentedNode.WithStatus, SchemaNode
All Known Subinterfaces:
ActionDefinition, EffectiveStatementMixins.OperationDefinitionMixin<D>, RpcDefinition
All Known Implementing Classes:
ActionEffectiveStatementImpl, OperationAsContainer, RpcEffectiveStatementImpl

public interface OperationDefinition extends SchemaNode
Common interface for an operation, such as an RpcDefinition or an ActionDefinition.
  • Method Details

    • getTypeDefinitions

      Collection<? extends @NonNull TypeDefinition<?>> getTypeDefinitions()
      Returns the set of type definitions declared under this operation.
      Returns:
      Set of type definitions declared under this operation.
    • getGroupings

      Collection<? extends @NonNull GroupingDefinition> getGroupings()
      Returns the set of grouping statements declared under this operation.
      Returns:
      Set of grouping statements declared under this operation.
    • getInput

      @NonNull InputSchemaNode getInput()
      Returns definition of input parameters for this operation.
      Returns:
      Definition of input parameters for this operation. The substatements of input define nodes under the operation's input node.
    • getOutput

      @NonNull OutputSchemaNode getOutput()
      Returns definition of output parameters for this operation.
      Returns:
      Definition of output parameters for this operation. The substatements of output define nodes under the operation's output node.