|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<Version.Action>
Version.Action
public static enum Version.Action
The VersionAction attribute may also be the strings FIRST, LATEST, PREVIOUS, NEXT and ALL.
Enum Constant Summary | |
---|---|
ALL
Select all available version of a resource. |
|
FIRST
Select the first version of a resource. |
|
LAST
Select the most recent version of a resource. |
|
NEXT
Select the previous version of a resource relative to the version specified using the rid attribute. |
|
PREVIOUS
Select the next version of a resource relative to the version specified using the rid attribute. |
Method Summary | |
---|---|
static Version.Action |
lookup(int ordinal)
|
static Version.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Version.Action[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Version.Action FIRST
public static final Version.Action LAST
public static final Version.Action NEXT
public static final Version.Action PREVIOUS
public static final Version.Action ALL
Method Detail |
---|
public static Version.Action[] values()
for (Version.Action c : Version.Action.values()) System.out.println(c);
public static Version.Action 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 static Version.Action lookup(int ordinal)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |