Package de.espirit.firstspirit.event
Enum Class EventInfo.EventType
- All Implemented Interfaces:
Serializable
,Comparable<EventInfo.EventType>
,Constable
- Enclosing interface:
- EventInfo
The change type which caused the event.
- Since:
- 5.2.210505
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionElement was changed operation.Element was deleted operation.Element was inserted operation.Element was moved operation.Element was released operation.Entity was changed operation.Entity was created operation.Entity was deleted operation.Entity was released operation. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates the event type to be element based.boolean
isEntity()
Indicates the event type to be entity based.static EventInfo.EventType
Returns the enum constant of this class with the specified name.static EventInfo.EventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ELEMENT_INSERTED
Element was inserted operation.- Since:
- 5.2.210505
-
ELEMENT_CHANGED
Element was changed operation.- Since:
- 5.2.210505
-
ELEMENT_DELETED
Element was deleted operation.- Since:
- 5.2.210505
-
ELEMENT_RELEASED
Element was released operation.- Since:
- 5.2.210505
-
ELEMENT_MOVED
Element was moved operation.- Since:
- 5.2.210505
-
ENTITY_CREATED
Entity was created operation.- Since:
- 5.2.210505
-
ENTITY_CHANGED
Entity was changed operation.- Since:
- 5.2.210505
-
ENTITY_DELETED
Entity was deleted operation.- Since:
- 5.2.210505
-
ENTITY_RELEASED
Entity was released operation.- Since:
- 5.2.210505
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
isElement
public boolean isElement()Indicates the event type to be element based.- Returns:
true
if this is aStoreElement
change type.- Since:
- 5.2.210505
-
isEntity
public boolean isEntity()Indicates the event type to be entity based.- Returns:
true
if this is aEntity
change type.- Since:
- 5.2.210505
-