de.espirit.or.schema
Enum Entity.PersistentState

java.lang.Object
  extended by java.lang.Enum<Entity.PersistentState>
      extended by 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.

Since:
4.0.17

Enum Constant Summary
CHANGING
           
DELETING
           
NEW
           
NOT_EXISTS
           
PERSISTENT
           
RELEASING
           
TEMPORAL_INVALID
           
 
Method Summary
 boolean isChangeState()
           
static Entity.PersistentState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Entity.PersistentState[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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