Class VariableTableAction

java.lang.Object
com.singularsys.jep.misc.publishingvariable.VariableTableAction
All Implemented Interfaces:
Serializable

public class VariableTableAction extends Object implements Serializable
Contains details of an action on a variable table or a change in a variable.
See Also:
  • Constructor Details

    • VariableTableAction

      public VariableTableAction(VariableTableAction.Actions action)
      An action with no associated variable
      Parameters:
      action - type of action
    • VariableTableAction

      public VariableTableAction(VariableTableAction.Actions action, String name, Object oldValue, Object newValue)
      An action with an associated variable
      Parameters:
      action - type of action
      name - the name of the variable
      oldValue - the previous value of the variable
      newValue - the new value of the variable
  • Method Details

    • getName

      public String getName()
      Returns the name of the variable.
      Returns:
      the variable name or null if not set
    • getOldValue

      public Object getOldValue()
      Returns the previous value of the variable
      Returns:
      the old value
    • getNewValue

      public Object getNewValue()
      Return the value the variable was set to. This value may not reflect the current value of the variable.
      Returns:
      the value
    • getAction

      public VariableTableAction.Actions getAction()
    • toString

      public String toString()
      Overrides:
      toString in class Object