Package org.geotools.api.filter.identity
Enum Version.Action
- Object
-
- Enum<Version.Action>
-
- Action
-
- All Implemented Interfaces:
Serializable
,Comparable<Version.Action>
- Enclosing class:
- Version
public static enum Version.Action extends Enum<Version.Action>
The VersionAction attribute may also be the strings FIRST, LATEST, PREVIOUS, NEXT and ALL.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Enum Constant Detail
-
FIRST
public static final Version.Action FIRST
Select the first version of a resource.
-
LAST
public static final Version.Action LAST
Select the most recent version of a resource.
-
NEXT
public static final Version.Action NEXT
Select the previous version of a resource relative to the version specified using the rid attribute.
-
PREVIOUS
public static final Version.Action PREVIOUS
Select the next version of a resource relative to the version specified using the rid attribute.
-
ALL
public static final Version.Action ALL
Select all available version of a resource.
-
-
Method Detail
-
values
public static Version.Action[] 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 (Version.Action c : Version.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Version.Action valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
lookup
public static Version.Action lookup(int ordinal)
-
-