net.ivoa.xml.stc.stc_v1_30
Enum SpectralUnitType

java.lang.Object
  extended by java.lang.Enum<SpectralUnitType>
      extended by net.ivoa.xml.stc.stc_v1_30.SpectralUnitType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SpectralUnitType>

public enum SpectralUnitType
extends java.lang.Enum<SpectralUnitType>

Java class for spectralUnitType.

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

 <simpleType name="spectralUnitType">
   <restriction base="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}unitType">
     <enumeration value="Hz"/>
     <enumeration value="kHz"/>
     <enumeration value="MHz"/>
     <enumeration value="GHz"/>
     <enumeration value="m"/>
     <enumeration value="mm"/>
     <enumeration value="um"/>
     <enumeration value="nm"/>
     <enumeration value="Angstrom"/>
     <enumeration value="eV"/>
     <enumeration value="keV"/>
     <enumeration value="MeV"/>
     <enumeration value="GeV"/>
     <enumeration value="TeV"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ANGSTROM
           
E_V
           
G_HZ
           
GE_V
           
HZ
           
K_HZ
           
KE_V
           
M
           
M_HZ
           
ME_V
           
MM
           
NM
           
TE_V
           
UM
           
 
Method Summary
static SpectralUnitType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static SpectralUnitType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SpectralUnitType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HZ

public static final SpectralUnitType HZ

K_HZ

public static final SpectralUnitType K_HZ

M_HZ

public static final SpectralUnitType M_HZ

G_HZ

public static final SpectralUnitType G_HZ

M

public static final SpectralUnitType M

MM

public static final SpectralUnitType MM

UM

public static final SpectralUnitType UM

NM

public static final SpectralUnitType NM

ANGSTROM

public static final SpectralUnitType ANGSTROM

E_V

public static final SpectralUnitType E_V

KE_V

public static final SpectralUnitType KE_V

ME_V

public static final SpectralUnitType ME_V

GE_V

public static final SpectralUnitType GE_V

TE_V

public static final SpectralUnitType TE_V
Method Detail

values

public static SpectralUnitType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SpectralUnitType c : SpectralUnitType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SpectralUnitType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()

fromValue

public static SpectralUnitType fromValue(java.lang.String v)


Copyright © 2011 VAMDC. All Rights Reserved.