- All Implemented Interfaces:
Serializable
,Comparable<MatchAction>
,Constable
,ControlledVocabulary
@UML(identifier="MatchAction",
specification=ISO_19143)
public enum MatchAction
extends Enum<MatchAction>
implements ControlledVocabulary
Specifies how the comparison predicate shall be evaluated for a collection of values.
This enumeration does not specify which specific value from the collection is tested.
- Since:
- 3.1
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
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 MatchAction
Returns the enum constant of this class with the specified name.static MatchAction[]
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
-
ANY
@UML(identifier="any", obligation=CONDITIONAL, specification=ISO_19143) public static final MatchAction ANYAny of the value in the collection can satisfy the predicate. This is the default value. -
ALL
@UML(identifier="all", obligation=CONDITIONAL, specification=ISO_19143) public static final MatchAction ALLAll values in the collection shall satisfy the predicate. -
ONE
@UML(identifier="one", obligation=CONDITIONAL, specification=ISO_19143) public static final MatchAction ONEOne of the values in the collection shall satisfy the predicate. Additional context may specify which value in the collection should satisfy the predicate. For example, the index may be a parameter in an expression.
-
-
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.
-