public enum CMRMessage extends Enum<CMRMessage>
Enum Constant and Description |
---|
ADD_RELATION |
GET_RELATED_ID |
REMOVE_RELATION |
SCHEDULE_FOR_BATCH_CASCADE_DELETE |
SCHEDULE_FOR_CASCADE_DELETE |
Modifier and Type | Method and Description |
---|---|
static CMRMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CMRMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CMRMessage GET_RELATED_ID
public static final CMRMessage ADD_RELATION
public static final CMRMessage REMOVE_RELATION
public static final CMRMessage SCHEDULE_FOR_CASCADE_DELETE
public static final CMRMessage SCHEDULE_FOR_BATCH_CASCADE_DELETE
public static CMRMessage[] values()
for (CMRMessage c : CMRMessage.values()) System.out.println(c);
public static CMRMessage 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 nullCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.