org.spase.parser134
Class Photon

java.lang.Object
  extended by org.spase.parser134.Photon

public class Photon
extends java.lang.Object

Photon (radio through gamma-rays): the fundamental particle or quantum of electromagnetic radiation (radiant energy)

Java class for Photon complex type.

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

 <complexType name="Photon">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.spase-group.org/data/schema}Qualifier" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.spase-group.org/data/schema}PhotonQuantity"/>
         <element ref="{http://www.spase-group.org/data/schema}EnergyRange" minOccurs="0"/>
         <element ref="{http://www.spase-group.org/data/schema}WavelengthRange" minOccurs="0"/>
         <element ref="{http://www.spase-group.org/data/schema}FrequencyRange" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EnergyRange energyRange
           
protected  FrequencyRange frequencyRange
           
protected  EnumPhotonQuantity photonQuantity
           
protected  java.util.List<EnumQualifier> qualifier
           
protected  WavelengthRange wavelengthRange
           
 
Constructor Summary
Photon()
           
 
Method Summary
 EnergyRange getEnergyRange()
          Gets the value of the energyRange property.
 FrequencyRange getFrequencyRange()
          Gets the value of the frequencyRange property.
 EnumPhotonQuantity getPhotonQuantity()
          Gets the value of the photonQuantity property.
 java.util.List<EnumQualifier> getQualifier()
          Gets the value of the qualifier property.
 WavelengthRange getWavelengthRange()
          Gets the value of the wavelengthRange property.
 void setEnergyRange(EnergyRange value)
          Sets the value of the energyRange property.
 void setFrequencyRange(FrequencyRange value)
          Sets the value of the frequencyRange property.
 void setPhotonQuantity(EnumPhotonQuantity value)
          Sets the value of the photonQuantity property.
 void setWavelengthRange(WavelengthRange value)
          Sets the value of the wavelengthRange property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

qualifier

protected java.util.List<EnumQualifier> qualifier

photonQuantity

protected EnumPhotonQuantity photonQuantity

energyRange

protected EnergyRange energyRange

wavelengthRange

protected WavelengthRange wavelengthRange

frequencyRange

protected FrequencyRange frequencyRange
Constructor Detail

Photon

public Photon()
Method Detail

getQualifier

public java.util.List<EnumQualifier> getQualifier()
Gets the value of the qualifier property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the qualifier property.

For example, to add a new item, do as follows:

    getQualifier().add(newItem);
 

Objects of the following type(s) are allowed in the list EnumQualifier


getPhotonQuantity

public EnumPhotonQuantity getPhotonQuantity()
Gets the value of the photonQuantity property.

Returns:
possible object is EnumPhotonQuantity

setPhotonQuantity

public void setPhotonQuantity(EnumPhotonQuantity value)
Sets the value of the photonQuantity property.

Parameters:
value - allowed object is EnumPhotonQuantity

getEnergyRange

public EnergyRange getEnergyRange()
Gets the value of the energyRange property.

Returns:
possible object is EnergyRange

setEnergyRange

public void setEnergyRange(EnergyRange value)
Sets the value of the energyRange property.

Parameters:
value - allowed object is EnergyRange

getWavelengthRange

public WavelengthRange getWavelengthRange()
Gets the value of the wavelengthRange property.

Returns:
possible object is WavelengthRange

setWavelengthRange

public void setWavelengthRange(WavelengthRange value)
Sets the value of the wavelengthRange property.

Parameters:
value - allowed object is WavelengthRange

getFrequencyRange

public FrequencyRange getFrequencyRange()
Gets the value of the frequencyRange property.

Returns:
possible object is FrequencyRange

setFrequencyRange

public void setFrequencyRange(FrequencyRange value)
Sets the value of the frequencyRange property.

Parameters:
value - allowed object is FrequencyRange