transaction
Enum LogEntry.LogType
java.lang.Object
java.lang.Enum<LogEntry.LogType>
transaction.LogEntry.LogType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LogEntry.LogType>
- Enclosing class:
- LogEntry
public static enum LogEntry.LogType
- extends java.lang.Enum<LogEntry.LogType>
Method Summary |
static LogEntry.LogType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LogEntry.LogType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UPDATE_RESOURCE
public static final LogEntry.LogType UPDATE_RESOURCE
INSERT_RESOURCE
public static final LogEntry.LogType INSERT_RESOURCE
INSERT_CUSTOMER
public static final LogEntry.LogType INSERT_CUSTOMER
INSERT_RESERVATION
public static final LogEntry.LogType INSERT_RESERVATION
values
public static LogEntry.LogType[] 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 (LogEntry.LogType c : LogEntry.LogType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LogEntry.LogType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null