Class TriggerEvent

java.lang.Object
org.apache.derby.impl.sql.execute.TriggerEvent

public class TriggerEvent extends Object
This is a simple class that we use to track trigger events. This is not expected to be used directly, instead there is a static TriggerEvent in TriggerEvents for each event found in this file.
  • Field Details

  • Constructor Details

    • TriggerEvent

      TriggerEvent(int type)
      Create a trigger event of the given type
      Parameters:
      type - the type
  • Method Details

    • getNumber

      int getNumber()
      Get the type number of this trigger
      Returns:
      the type number
    • getName

      String getName()
      Get the type number of this trigger
      Returns:
      the type number
    • isBefore

      boolean isBefore()
      Is this a before trigger
      Returns:
      true if before
    • isAfter

      boolean isAfter()
      Is this an after trigger
      Returns:
      true if after