- All Implemented Interfaces:
Serializable
,Comparable<VersionAction>
,Constable
,ControlledVocabulary
@UML(identifier="VersionAction",
specification=ISO_19143)
public enum VersionAction
extends Enum<VersionAction>
implements ControlledVocabulary
The action to do for selecting a new version for an identified resource.
This is one of the possible values of
Version
.- Since:
- 3.1
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFilters selects all available versions of a resource.Filter selects the first version of a resource.Filter selects the most recent version of a resource.Filter selects the next version of a resource relative to the version specified using theidentifier
attribute.Filter selects the previous version of a resource relative to the version specified using theidentifier
attribute. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns all constants defined by this enumeration type.Returns the UML identifier for this enumeration constant.String[]
names()
Returns the programmatic name of this constant together with its identifier.static VersionAction
Returns the enum constant of this class with the specified name.static VersionAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface ControlledVocabulary
name, ordinal
-
Enum Constant Details
-
FIRST
@UML(identifier="first", obligation=CONDITIONAL, specification=ISO_19143) public static final VersionAction FIRSTFilter selects the first version of a resource. -
LAST
@UML(identifier="last", obligation=CONDITIONAL, specification=ISO_19143) public static final VersionAction LASTFilter selects the most recent version of a resource. -
PREVIOUS
@UML(identifier="previous", obligation=CONDITIONAL, specification=ISO_19143) public static final VersionAction PREVIOUSFilter selects the previous version of a resource relative to the version specified using theidentifier
attribute. -
NEXT
@UML(identifier="next", obligation=CONDITIONAL, specification=ISO_19143) public static final VersionAction NEXTFilter selects the next version of a resource relative to the version specified using theidentifier
attribute. -
ALL
@UML(identifier="all", obligation=CONDITIONAL, specification=ISO_19143) public static final VersionAction ALLFilters selects all available versions of a resource.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
identifier
Returns the UML identifier for this enumeration constant.- Specified by:
identifier
in interfaceControlledVocabulary
- Returns:
- the ISO/OGC identifier for this constant, or
null
if none.
-
names
Returns the programmatic name of this constant together with its identifier.- Specified by:
names
in interfaceControlledVocabulary
- Returns:
- all names of this constant. This array is never null and never empty.
-
family
Returns all constants defined by this enumeration type. Invoking this method is equivalent to invokingvalues()
, except that this method can be invoked on an instance of theControlledVocabulary
interface (i.e. the enumeration type does not need to be known at compile-time).- Specified by:
family
in interfaceControlledVocabulary
- Returns:
- all values for this enumeration.
-