Class BandDefinition

java.lang.Object
org.opengis.util.CodeList<BandDefinition>
org.opengis.metadata.content.BandDefinition
All Implemented Interfaces:
Serializable, Comparable<BandDefinition>

@UML(identifier="MI_BandDefinition", specification=ISO_19115_2) public final class BandDefinition extends CodeList<BandDefinition>
Designation of criterion for defining maximum and minimum wavelengths for a spectral band.
Since:
2.3
Version:
3.0
See Also:
  • Field Details

  • Constructor Details

    • BandDefinition

      private BandDefinition(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 BandDefinition[] values()
      Returns the list of BandDefinitions.
      Returns:
      The list of codes declared in the current JVM.
    • family

      public BandDefinition[] family()
      Returns the list of enumerations of the same kind than this enum.
      Specified by:
      family in class CodeList<BandDefinition>
      Returns:
      The codes of the same kind than this code.
    • valueOf

      public static BandDefinition valueOf(String code)
      Returns the band definition 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.