Class ActionTarget

java.lang.Object
com.suncode.pwfl.workflow.form.action.ActionTarget

@Api public class ActionTarget extends Object
Class represents element which action Actions has been added to.
Author:
Cezary Kozar 4 gru 2015
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Returns identificator of target element. Form ActionDestination.Type.FORM does not have id (null will be returned)
    • getType

      public ActionDestination.Type getType()
      Returns type of target element.
    • form

      public static ActionTarget form()
      Form
    • variable

      public static ActionTarget variable()
      Variable
    • variable

      public static ActionTarget variable(String bindParameterId)
      Variable. Variable id will be binded to given parameter.
      Parameters:
      bindParameterId - Bind parameter id
    • variableSet

      public static ActionTarget variableSet()
      Variable set
    • variableSet

      public static ActionTarget variableSet(String bindParameterId)
      Variable set. Variable set id will be binded to given parameter.
      Parameters:
      bindParameterId - Bind parameter id
    • button

      public static ActionTarget button()
      Form button
    • button

      public static ActionTarget button(String bindParameterId)
      Form button. Button name will be binded to given parameter.
      Parameters:
      bindParameterId - Bind parameter id
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object