Enum Class DataSource

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

@VoDml(id="SSA:DataSource", role=enumeration) public enum DataSource extends Enum<DataSource>
The defined categories that specify where the spectral data originally came from. Enumeration DataSource :
  • 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 artificial : Artificial or simulated data.
    Value custom : Data which has been custom processed, e.g., as part of a specific research project.
    Value pointed : A pointed observation of a particular astronomical object or field.
    Value survey : A survey dataset, which typically covers some region of observational parameter space in a uniform fashion, with as complete as possible coverage in the region of parameter space observed.
    Value theory : Theory data, or any data generated from a theoretical model, for example a synthetic spectrum.
  • Method Summary

    Modifier and Type
    Method
    Description
    static final DataSource
    Return the DataSource 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 DataSource
    Returns the enum constant of this class with the specified name.
    static DataSource[]
    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

    • SURVEY

      public static final DataSource SURVEY
      Value survey : A survey dataset, which typically covers some region of observational parameter space in a uniform fashion, with as complete as possible coverage in the region of parameter space observed.
    • POINTED

      public static final DataSource POINTED
      Value pointed : A pointed observation of a particular astronomical object or field. Typically, these are instrumental observations taken as part of some PI observing program. The data quality and characteristics may be variable, but the observations of a particular object or field may be more extensive than for a survey.
    • CUSTOM

      public static final DataSource CUSTOM
      Value custom : Data which has been custom processed, e.g., as part of a specific research project.
    • THEORY

      public static final DataSource THEORY
      Value theory : Theory data, or any data generated from a theoretical model, for example a synthetic spectrum.
    • ARTIFICIAL

      public static final DataSource ARTIFICIAL
      Value artificial : Artificial or simulated data. This is similar to theory data but need not be based on a physical model, and is often used for testing purposes.
  • 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