|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<HibernateOperation>
org.addsimplicity.anicetus.hibernate.HibernateOperation
public enum HibernateOperation
The operation enumeration captures the hibernate action taken. It follows the basic CRUD definitions.
| Enum Constant Summary | |
|---|---|
Create
A new entity is being added to the database. |
|
Delete
An entity is being deleted from the database. |
|
Load
An entity is being retrieved from the database. |
|
Update
An entity is being updated in the database. |
|
| Method Summary | |
|---|---|
static HibernateOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static HibernateOperation[] |
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 |
|---|
public static final HibernateOperation Create
public static final HibernateOperation Delete
public static final HibernateOperation Load
public static final HibernateOperation Update
| Method Detail |
|---|
public static final HibernateOperation[] values()
for(HibernateOperation c : HibernateOperation.values())
System.out.println(c);
public static HibernateOperation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||