Package org.opengis.metadata.acquisition
Class Trigger
- java.lang.Object
-
- org.opengis.util.CodeList<Trigger>
-
- org.opengis.metadata.acquisition.Trigger
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
-
Field Summary
Fields Modifier and Type Field Description static Trigger
AUTOMATIC
Event due to external stimuli.static Trigger
MANUAL
Event manually instigated.static Trigger
PRE_PROGRAMMED
Event instigated by planned internal stimuli.private static long
serialVersionUID
Serial number for compatibility with different versions.private static java.util.List<Trigger>
VALUES
List of all enumerations of this type.
-
Constructor Summary
Constructors Modifier Constructor Description private
Trigger(java.lang.String name)
Constructs an enum with the given name.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Trigger[]
family()
Returns the list of enumerations of the same kind than this enum.static Trigger
valueOf(java.lang.String code)
Returns the trigger that matches the given string, or returns a new one if none match it.static Trigger[]
values()
Returns the list ofTrigger
s.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serial number for compatibility with different versions.- See Also:
- Constant Field Values
-
VALUES
private static final java.util.List<Trigger> 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 AUTOMATIC
Event due to external stimuli.
-
MANUAL
@UML(identifier="manual", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Trigger MANUAL
Event manually instigated.
-
PRE_PROGRAMMED
@UML(identifier="preProgrammed", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Trigger PRE_PROGRAMMED
Event instigated by planned internal stimuli.
-
-
Constructor Detail
-
Trigger
private Trigger(java.lang.String name)
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 Detail
-
values
public static Trigger[] values()
Returns the list ofTrigger
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public Trigger[] family()
Returns the list of enumerations of the same kind than this enum.
-
valueOf
public static Trigger valueOf(java.lang.String code)
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.
-
-