Enum Class EnergyBand

java.lang.Object
java.lang.Enum<EnergyBand>
org.ivoa.dm.caom2.EnergyBand
All Implemented Interfaces:
Serializable, Comparable<EnergyBand>, Constable

@VoDml(id="caom2:EnergyBand", role=enumeration) public enum EnergyBand extends Enum<EnergyBand>
Energyband provides a general set of energy regions that span the electromagnetic spectrum. The set of values and boundaries are taken from the VOResource metadata. odo{The name(s) are used to capture the literal values from VOResource, but that is not valid for X-ray and Gamma-ray}. Enumeration EnergyBand :
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Value EUV : wavelength from 10 to 100nm.
    Value Gammaray : energy greater than ~120keV.
    Value Infrared : wavelength from 1um to 0.1mm.
    Value Millimeter : wavelength from 0.1 to 10mm.
    Value Optical : wavelength from 300nm to 1um.
    Value Radio : wavelength greater than ~10mm.
    Value UV : wavelength from 100 to 300nm.
    Value Xray : energy from 0.12 to 120keV.
  • Method Summary

    Modifier and Type
    Method
    Description
    static final EnergyBand
    Return the EnergyBand enum constant corresponding to the given string representation (value)
    final String
    Return the string representation of this enum constant (value)
    final String
    Return the string representation of this enum constant (value)
    static EnergyBand
    Returns the enum constant of this class with the specified name.
    static EnergyBand[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • RADIO

      public static final EnergyBand RADIO
      Value Radio : wavelength greater than ~10mm.
    • MILLIMETER

      public static final EnergyBand MILLIMETER
      Value Millimeter : wavelength from 0.1 to 10mm.
    • INFRARED

      public static final EnergyBand INFRARED
      Value Infrared : wavelength from 1um to 0.1mm.
    • OPTICAL

      public static final EnergyBand OPTICAL
      Value Optical : wavelength from 300nm to 1um.
    • UV

      public static final EnergyBand UV
      Value UV : wavelength from 100 to 300nm.
    • EUV

      public static final EnergyBand EUV
      Value EUV : wavelength from 10 to 100nm.
    • XRAY

      public static final EnergyBand XRAY
      Value Xray : energy from 0.12 to 120keV.
    • GAMMARAY

      public static final EnergyBand GAMMARAY
      Value Gammaray : energy greater than ~120keV.
  • Method Details

    • values

      public static EnergyBand[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EnergyBand valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public final String value()
      Return the string representation of this enum constant (value)
      Returns:
      string representation of this enum constant (value)
    • toString

      public final String toString()
      Return the string representation of this enum constant (value)
      Overrides:
      toString in class Enum<EnergyBand>
      Returns:
      string representation of this enum constant (value)
      See Also:
    • fromValue

      public static final EnergyBand fromValue(String v)
      Return the EnergyBand enum constant corresponding to the given string representation (value)
      Parameters:
      v - string representation (value)
      Returns:
      EnergyBand enum constant
      Throws:
      IllegalArgumentException - if there is no matching enum constant