Enum Class DopplerDefinitionType

java.lang.Object
java.lang.Enum<DopplerDefinitionType>
org.javastro.ivoa.entities.stc.v1.DopplerDefinitionType
All Implemented Interfaces:
Serializable, Comparable<DopplerDefinitionType>, Constable, org.jvnet.jaxb.lang.EnumValue<String>

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public enum DopplerDefinitionType extends Enum<DopplerDefinitionType> implements org.jvnet.jaxb.lang.EnumValue<String>
The Doppler definition used: optical, radio, or pseudo-relativistic (i.e., how is a redshift converted to a velocity); the most common is optical, except when the reference is LSR (usually radio)

Java class for dopplerDefinitionType

.

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


 <simpleType name="dopplerDefinitionType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="OPTICAL"/>
     <enumeration value="RADIO"/>
     <enumeration value="RELATIVISTIC"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

  • Method Details

    • values

      public static DopplerDefinitionType[] 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 DopplerDefinitionType 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()
    • fromValue

      public static DopplerDefinitionType fromValue(String v)
    • enumValue

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