Enum Class DataSource

java.lang.Object
java.lang.Enum<DataSource>
org.ivoa.dm.registry.slap.DataSource
All Implemented Interfaces:
Serializable, Comparable<DataSource>, Constable

@VoDml(id="SLAP:DataSource", role=enumeration) public enum DataSource extends Enum<DataSource>
The defined categories that specify where the line data originally came from, i.e., the type of data collections to which the service provides access. Enumeration DataSource :
  • Enum Constant Details

    • OBSERVATIONAL_ASTROPHYSICAL

      public static final DataSource OBSERVATIONAL_ASTROPHYSICAL
      Value observational_astrophysical : Lines observed and identified in real spectra of astrophysical observations by different instrument/projects .
    • OBSERVATIONAL_LABORATORY

      public static final DataSource OBSERVATIONAL_LABORATORY
      Value observational_laboratory : Lines observed and identified in real spectra of laboratory measurements.
    • THEORETICAL

      public static final DataSource THEORETICAL
      Value theoretical : Servers containing theoretical spectral lines.
  • Method Details

    • values

      public static DataSource[] 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 DataSource 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<DataSource>
      Returns:
      string representation of this enum constant (value)
      See Also:
    • fromValue

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