Package org.opengis.metadata.acquisition
Class Trigger
- All Implemented Interfaces:
Serializable
,Comparable<Trigger>
@UML(identifier="MI_TriggerCode",
specification=ISO_19115_2)
public final class Trigger
extends CodeList<Trigger>
Mechanism of activation.
- Since:
- 2.3
- Version:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Trigger
Event due to external stimuli.static final Trigger
Event manually instigated.static final Trigger
Event instigated by planned internal stimuli.private static final long
Serial number for compatibility with different versions.List of all enumerations of this type. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for compatibility with different versions.- See Also:
-
VALUES
List of all enumerations of this type. Must be declared before any enum declaration. -
AUTOMATIC
@UML(identifier="automatic", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Trigger AUTOMATICEvent due to external stimuli. -
MANUAL
@UML(identifier="manual", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Trigger MANUALEvent manually instigated. -
PRE_PROGRAMMED
@UML(identifier="preProgrammed", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Trigger PRE_PROGRAMMEDEvent instigated by planned internal stimuli.
-
-
Constructor Details
-
Trigger
Constructs an enum with the given name. The new enum is automatically added to the list returned byvalues()
.- Parameters:
name
- The enum name. This name must not be in use by an other enum of this type.
-
-
Method Details
-
values
Returns the list ofTrigger
s.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum. -
valueOf
Returns the trigger that matches the given string, or returns a new one if none match it.- Parameters:
code
- The name of the code to fetch or to create.- Returns:
- A code matching the given name.
-