Interface IDfTransitionCondition

All Known Subinterfaces:
IDfAttributeValueCondition, IDfXPathCondition, IDfXPathConditionEx

public interface IDfTransitionCondition
Describes the properties common to all transition conditions.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Equality operator.
    static final int
    "Greater than or equal to" operator.
    static final int
    "Greater than" operator.
    static final int
    "Less than or equal to" operator.
    static final int
    "Less than" operator.
    static final int
    Inequality operator.
    static final String
    A well-known alias that refers to the workflow for this transition.
    static final String
    A well-known alias that refers to the workitem for this transition.
  • Method Summary

    Modifier and Type
    Method
    Description
    The alias of the object upon which the transition condition is to be applied.
    int
    Returns an integer specifying which relational operator to use for this transition condition.
    boolean
    Indicates if a transition condition is complete and has legitimate values.
    void
    Set the alias of the object upon which the transition condition is to be applied.
    void
    setRelationalOperator(int operator)
    Sets an integer specifying which relational operator to use for this transition condition.
    Returns a string representation of the transition condition.
  • Field Details

  • Method Details

    • setObjectAlias

      void setObjectAlias(String name) throws DfException
      Set the alias of the object upon which the transition condition is to be applied. This will be either a package name or one of the well known constant aliases that appear in this interface to refer to the workflow or workitem.
      Parameters:
      name - the object alias
      Throws:
      DfException - if a server error occurs
    • getObjectAlias

      String getObjectAlias() throws DfException
      The alias of the object upon which the transition condition is to be applied.
      Returns:
      the alias of the object upon which the transition condition is to be applied
      Throws:
      DfException - if a server error occurs
    • setRelationalOperator

      void setRelationalOperator(int operator) throws DfException
      Sets an integer specifying which relational operator to use for this transition condition.
      Parameters:
      operator - the relational operator, which must be one of the constants in this interface
      Throws:
      DfException - if a server error occurs
    • getRelationalOperator

      int getRelationalOperator() throws DfException
      Returns an integer specifying which relational operator to use for this transition condition.
      Returns:
      an integer specifying which relational operator to use for this transition condition
      Throws:
      DfException - if a server error occurs
    • isValid

      boolean isValid() throws DfException
      Indicates if a transition condition is complete and has legitimate values.
      Returns:
      true if the condition is valid, otherwise false
      Throws:
      DfException
    • toString

      String toString()
      Returns a string representation of the transition condition.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the transition condition