public static enum Request.Type extends java.lang.Enum<Request.Type>
Enum Constant and Description |
---|
DUPLICATE_RELATION |
EDIT_RELATION |
NEW_RELATION |
REMOVE_RELATION |
VIEW_RELATION |
Modifier and Type | Method and Description |
---|---|
static Request.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Request.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.Type VIEW_RELATION
public static final Request.Type NEW_RELATION
public static final Request.Type EDIT_RELATION
public static final Request.Type REMOVE_RELATION
public static final Request.Type DUPLICATE_RELATION
public static Request.Type[] values()
for (Request.Type c : Request.Type.values()) System.out.println(c);
public static Request.Type 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 namejava.lang.NullPointerException
- if the argument is null