| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RevisionType>
org.hibernate.envers.RevisionType
public enum RevisionType
Type of the revision.
| Enum Constant Summary | |
|---|---|
| ADDIndicates that the entity was added (persisted) at that revision. | |
| DELIndicates that the entity was deleted (removed) at that revision. | |
| MODIndicates that the entity was modified (one or more of its fields) at that revision. | |
| Method Summary | |
|---|---|
| static RevisionType | fromRepresentation(Object representation) | 
|  Byte | getRepresentation() | 
| static RevisionType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static RevisionType[] | values()Returns an array containing the constants of this enum type, in the order they are declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final RevisionType ADD
public static final RevisionType MOD
public static final RevisionType DEL
| Method Detail | 
|---|
public static RevisionType[] values()
for (RevisionType c : RevisionType.values()) System.out.println(c);
public static RevisionType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic Byte getRepresentation()
public static RevisionType fromRepresentation(Object representation)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||