Class OperationDefinition

All Implemented Interfaces:
IDatatypeVisitable, IModelElement

public class OperationDefinition extends ContainableModelElement
A containable element which represents user defined operations.
Author:
Holger Eichelberger
  • Field Details

  • Constructor Details

    • OperationDefinition

      OperationDefinition()
      Constructor for serialization.
    • OperationDefinition

      public OperationDefinition(ModelElement parent)
      Constructor for containable model element.
      Parameters:
      parent - the object, in which this specific one is embedded
  • Method Details

    • setOperation

      public void setOperation(CustomOperation operation)
      Changes the defined operation.
      Parameters:
      operation - the defined operation
    • getOperation

      public CustomOperation getOperation()
      Returns the defined operation.
      Returns:
      the operation
    • accept

      public void accept(IModelVisitor visitor)
      Description copied from interface: IModelElement
      Accept method for the visitor.
      Parameters:
      visitor - The visitor, which should process this model element.