org.spase.parser110
Enum EnumSpectralRange

java.lang.Object
  extended by java.lang.Enum<EnumSpectralRange>
      extended by org.spase.parser110.EnumSpectralRange
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EnumSpectralRange>

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

Java class for enumSpectralRange.

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

 <simpleType name="enumSpectralRange">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="GammaRays"/>
     <enumeration value="HardXrays"/>
     <enumeration value="Infrared"/>
     <enumeration value="Microwave"/>
     <enumeration value="Optical"/>
     <enumeration value="RadioFrequency"/>
     <enumeration value="Ultraviolet"/>
     <enumeration value="XRays"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
GAMMA_RAYS
          Photons with a wavelength range: 0.00001 to 0.001 nm
HARD_XRAYS
          Photons with a wavelength range: 0.001 to 0.1 nm
INFRARED
          Photons with a wavelength range: 760 to 1.00x10^6 nm
MICROWAVE
          Photons with a wavelength range: 1.00x10^6 to 1.50x10^7 nm
OPTICAL
          Photons with a wavelength range: 380 to 760 nm
RADIO_FREQUENCY
          Photons with a wavelength range: 100,000 to 1.00x10^11 nm
ULTRAVIOLET
          Photons with a wavelength range: 10 to 400 nm
X_RAYS
          Photons with a wavelength range: 0.001 <= x < 10 nm
 
Method Summary
static EnumSpectralRange fromValue(java.lang.String v)
           
 java.lang.String value()
           
static EnumSpectralRange valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EnumSpectralRange[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GAMMA_RAYS

public static final EnumSpectralRange GAMMA_RAYS
Photons with a wavelength range: 0.00001 to 0.001 nm


HARD_XRAYS

public static final EnumSpectralRange HARD_XRAYS
Photons with a wavelength range: 0.001 to 0.1 nm


INFRARED

public static final EnumSpectralRange INFRARED
Photons with a wavelength range: 760 to 1.00x10^6 nm


MICROWAVE

public static final EnumSpectralRange MICROWAVE
Photons with a wavelength range: 1.00x10^6 to 1.50x10^7 nm


OPTICAL

public static final EnumSpectralRange OPTICAL
Photons with a wavelength range: 380 to 760 nm


RADIO_FREQUENCY

public static final EnumSpectralRange RADIO_FREQUENCY
Photons with a wavelength range: 100,000 to 1.00x10^11 nm


ULTRAVIOLET

public static final EnumSpectralRange ULTRAVIOLET
Photons with a wavelength range: 10 to 400 nm


X_RAYS

public static final EnumSpectralRange X_RAYS
Photons with a wavelength range: 0.001 <= x < 10 nm

Method Detail

values

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

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

valueOf

public static EnumSpectralRange 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

value

public java.lang.String value()

fromValue

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