org.granite.tide.data
Enum DataContext.EntityUpdateType
java.lang.Object
java.lang.Enum<DataContext.EntityUpdateType>
org.granite.tide.data.DataContext.EntityUpdateType
- All Implemented Interfaces:
- Serializable, Comparable<DataContext.EntityUpdateType>
- Enclosing class:
- DataContext
public static enum DataContext.EntityUpdateType
- extends Enum<DataContext.EntityUpdateType>
PERSIST
public static final DataContext.EntityUpdateType PERSIST
UPDATE
public static final DataContext.EntityUpdateType UPDATE
REMOVE
public static final DataContext.EntityUpdateType REMOVE
values
public static DataContext.EntityUpdateType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DataContext.EntityUpdateType c : DataContext.EntityUpdateType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DataContext.EntityUpdateType 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
NullPointerException - if the argument is null