Class Trigger

java.lang.Object
org.opengis.util.CodeList<Trigger>
org.opengis.metadata.acquisition.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:
  • Field Details

  • Constructor Details

    • Trigger

      private Trigger(String name)
      Constructs an enum with the given name. The new enum is automatically added to the list returned by values().
      Parameters:
      name - The enum name. This name must not be in use by an other enum of this type.
  • Method Details

    • values

      public static Trigger[] values()
      Returns the list of Triggers.
      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.
      Specified by:
      family in class CodeList<Trigger>
      Returns:
      The codes of the same kind than this code.
    • valueOf

      public static Trigger valueOf(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.