Enum Class DataSource

java.lang.Object
java.lang.Enum<DataSource>
org.javastro.ivoa.entities.resource.ssap.DataSource
All Implemented Interfaces:
Serializable, Comparable<DataSource>, Constable, org.jvnet.jaxb.lang.EnumValue<String>

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public enum DataSource extends Enum<DataSource> implements org.jvnet.jaxb.lang.EnumValue<String>
The defined categories that specify where the spectral data originally came from.

Java class for DataSource

.

The following schema fragment specifies the expected content contained within this class.


 <simpleType name="DataSource">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="survey"/>
     <enumeration value="pointed"/>
     <enumeration value="custom"/>
     <enumeration value="theory"/>
     <enumeration value="artificial"/>
   </restriction>
 </simpleType>
 
  • 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
    This is similar to theory data but need not be based on a physical model, and is often used for testing purposes.
    Data which has been custom processed, e.g., as part of a specific research project.
    Typically, these are instrumental observations taken as part of some PI observing program.
    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.
    Theory data, or any data generated from a theoretical model, for example a synthetic spectrum.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static DataSource
    Gets the enum associated to the value passed as parameter.
    Gets the value associated to the enum constant.
    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
      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
      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
      Data which has been custom processed, e.g., as part of a specific research project.
    • THEORY

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

      public static final DataSource ARTIFICIAL
      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 String value()
      Gets the value associated to the enum constant.
      Returns:
      The value linked to the enum.
    • fromValue

      public static DataSource fromValue(String v)
      Gets the enum associated to the value passed as parameter.
      Parameters:
      v - The value to get the enum from.
      Returns:
      The enum which corresponds to the value, if it exists.
      Throws:
      IllegalArgumentException - If no value matches in the enum declaration.
    • enumValue

      public String enumValue()
      Specified by:
      enumValue in interface org.jvnet.jaxb.lang.EnumValue<String>