astronomy.data.spectra
Interface WavelengthType

All Known Implementing Classes:
WavelengthTypeImpl

public interface WavelengthType

Java content class for WavelengthType complex type.

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

 <complexType name="WavelengthType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>float">
       <attribute name="redshift" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="unit">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="angstrom"/>
             <enumeration value="nanometer"/>
             <enumeration value="meter"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="type">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="geocentric"/>
             <enumeration value="heliocentric"/>
             <enumeration value="restframe"/>
           </restriction>
         </simpleType>
       </attribute>
     </extension>
   </simpleContent>
 </complexType>
 


Method Summary
 float getRedshift()
           
 String getType()
           
 String getUnit()
           
 float getValue()
           
 void setRedshift(float value)
           
 void setType(String value)
           
 void setUnit(String value)
           
 void setValue(float value)
           
 

Method Detail

getType

String getType()
Returns:
possible object is String

setType

void setType(String value)
Parameters:
value - allowed object is String

getValue

float getValue()

setValue

void setValue(float value)

getRedshift

float getRedshift()

setRedshift

void setRedshift(float value)

getUnit

String getUnit()
Returns:
possible object is String

setUnit

void setUnit(String value)
Parameters:
value - allowed object is String