de.espirit.or.schema
Enum Entity.PersistentState
java.lang.Object
java.lang.Enum<Entity.PersistentState>
de.espirit.or.schema.Entity.PersistentState
- All Implemented Interfaces:
- Serializable, Comparable<Entity.PersistentState>
- Enclosing interface:
- Entity
public static enum Entity.PersistentState
- extends Enum<Entity.PersistentState>
Define all possible states of an entity.
- NEW: a NEW entity is a just created entity which values are not persistent
- PERSISTENT:
- CHANGING:
- DELETING:
- RELEASING:
- NOT_EXISTS:
- TEMPORAL_INVALID: This state is used in temporal context to mark an invalid entity (its valid to is less then now)
- Since:
- 4.0.17
NEW
public static final Entity.PersistentState NEW
- Since:
- 4.0.17
PERSISTENT
public static final Entity.PersistentState PERSISTENT
- Since:
- 4.0.17
CHANGING
public static final Entity.PersistentState CHANGING
- Since:
- 4.0.17
DELETING
public static final Entity.PersistentState DELETING
- Since:
- 4.0.17
RELEASING
public static final Entity.PersistentState RELEASING
- Since:
- 4.0.17
NOT_EXISTS
public static final Entity.PersistentState NOT_EXISTS
- Since:
- 4.0.17
TEMPORAL_INVALID
public static final Entity.PersistentState TEMPORAL_INVALID
- Since:
- 4.0.17
values
public static final Entity.PersistentState[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Entity.PersistentState c : Entity.PersistentState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Entity.PersistentState valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
isChangeState
public boolean isChangeState()
- Since:
- 4.0.101
Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480