Class CustomDynamicOperation


public class CustomDynamicOperation extends CustomOperation
Implements a non-static custom operation subject to dynamic dispatch while evaluation.
Author:
Holger Eichelberger
  • Constructor Details

    • CustomDynamicOperation

      CustomDynamicOperation()
      Constructor for serialization.
    • CustomDynamicOperation

      public CustomDynamicOperation(IDatatype returns, String methodname, IDatatype operand, ConstraintSyntaxTree function, DecisionVariableDeclaration[] parameters)
      Operation Constructor.
      Parameters:
      returns - result type of the operation
      methodname - name of the operation
      operand - the data type the operation is defined for (shall be a project)
      function - the operation calculated by this operation
      parameters - list of parameters for operation
  • Method Details

    • isStatic

      public boolean isStatic()
      Description copied from class: Operation
      Returns whether this operation is static.
      Overrides:
      isStatic in class Operation
      Returns:
      true for static, false else