Package org.opengis.metadata.acquisition
Class Trigger
-
- All Implemented Interfaces:
Serializable,Comparable<Trigger>,ControlledVocabulary
@UML(identifier="MI_TriggerCode", specification=ISO_19115_2) public final class Trigger extends CodeList<Trigger>
Mechanism of activation.- Since:
- 2.3
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
-
-
Method Summary
Modifier and Type Method Description Trigger[]family()Returns the list of codes of the same kind than this code list element.static TriggervalueOf(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 ofTriggers.
-
-
-
Field Detail
-
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.
-
-
Method Detail
-
values
public static Trigger[] values()
Returns the list ofTriggers.- Returns:
- the list of codes declared in the current JVM.
-
family
public Trigger[] family()
Returns the list of codes of the same kind than this code list element. Invoking this method is equivalent to invokingvalues(), except that this method can be invoked on an instance of the parentCodeListclass.
-
valueOf
public static Trigger valueOf(String code)
Returns the trigger that matches the given string, or returns a new one if none match it. More specifically, this methods returns the first instance for whichname().equals(code)returnstrue. If no existing instance is found, then a new one is created for the given name.- Parameters:
code- the name of the code to fetch or to create.- Returns:
- a code matching the given name.
-
-