Serializable
, Comparable<DatabaseChangeEvent.AdditionalEventType>
public static enum DatabaseChangeEvent.AdditionalEventType extends Enum<DatabaseChangeEvent.AdditionalEventType>
Enum Constant | Description |
---|---|
GROUPING |
Addtional event type: grouping.
|
NONE |
Addtional event type: no further information about the change notification.
|
TIMEOUT |
Addtional event type: timeout.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getCode() |
Implementation detail (for internal use only).
|
static DatabaseChangeEvent.AdditionalEventType |
getEventType(int code) |
Implementation detail (for internal use only).
|
static DatabaseChangeEvent.AdditionalEventType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static DatabaseChangeEvent.AdditionalEventType[] |
values() |
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final DatabaseChangeEvent.AdditionalEventType NONE
public static final DatabaseChangeEvent.AdditionalEventType TIMEOUT
public static final DatabaseChangeEvent.AdditionalEventType GROUPING
public static DatabaseChangeEvent.AdditionalEventType[] values()
for (DatabaseChangeEvent.AdditionalEventType c : DatabaseChangeEvent.AdditionalEventType.values()) System.out.println(c);
public static DatabaseChangeEvent.AdditionalEventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getCode()
public static final DatabaseChangeEvent.AdditionalEventType getEventType(int code)