Enum Class EventInfo.EventType

java.lang.Object
java.lang.Enum<EventInfo.EventType>
de.espirit.firstspirit.event.EventInfo.EventType
All Implemented Interfaces:
Serializable, Comparable<EventInfo.EventType>, Constable
Enclosing interface:
EventInfo

public static enum EventInfo.EventType extends Enum<EventInfo.EventType>
The change type which caused the event.
Since:
5.2.210505
  • Enum Constant Details

    • ELEMENT_INSERTED

      public static final EventInfo.EventType ELEMENT_INSERTED
      Element was inserted operation.
      Since:
      5.2.210505
    • ELEMENT_CHANGED

      public static final EventInfo.EventType ELEMENT_CHANGED
      Element was changed operation.
      Since:
      5.2.210505
    • ELEMENT_DELETED

      public static final EventInfo.EventType ELEMENT_DELETED
      Element was deleted operation.
      Since:
      5.2.210505
    • ELEMENT_RELEASED

      public static final EventInfo.EventType ELEMENT_RELEASED
      Element was released operation.
      Since:
      5.2.210505
    • ELEMENT_MOVED

      public static final EventInfo.EventType ELEMENT_MOVED
      Element was moved operation.
      Since:
      5.2.210505
    • ENTITY_CREATED

      public static final EventInfo.EventType ENTITY_CREATED
      Entity was created operation.
      Since:
      5.2.210505
    • ENTITY_CHANGED

      public static final EventInfo.EventType ENTITY_CHANGED
      Entity was changed operation.
      Since:
      5.2.210505
    • ENTITY_DELETED

      public static final EventInfo.EventType ENTITY_DELETED
      Entity was deleted operation.
      Since:
      5.2.210505
    • ENTITY_RELEASED

      public static final EventInfo.EventType ENTITY_RELEASED
      Entity was released operation.
      Since:
      5.2.210505
  • Method Details

    • values

      public static EventInfo.EventType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EventInfo.EventType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isElement

      public boolean isElement()
      Indicates the event type to be element based.
      Returns:
      true if this is a StoreElement change type.
      Since:
      5.2.210505
    • isEntity

      public boolean isEntity()
      Indicates the event type to be entity based.
      Returns:
      true if this is a Entity change type.
      Since:
      5.2.210505