org.spase.parser110
Class Photon

java.lang.Object
  extended by org.spase.parser110.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}PhotonQualifier" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.spase-group.org/data/schema}PhotonQuantity"/>
         <element ref="{http://www.spase-group.org/data/schema}FrequencyRange" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  FrequencyRange frequencyRange
           
protected  java.util.List<EnumPhotonQualifier> photonQualifier
           
protected  EnumPhotonQuantity photonQuantity
           
 
Constructor Summary
Photon()
           
 
Method Summary
 FrequencyRange getFrequencyRange()
          Gets the value of the frequencyRange property.
 java.util.List<EnumPhotonQualifier> getPhotonQualifier()
          Gets the value of the photonQualifier property.
 EnumPhotonQuantity getPhotonQuantity()
          Gets the value of the photonQuantity property.
 void setFrequencyRange(FrequencyRange value)
          Sets the value of the frequencyRange property.
 void setPhotonQuantity(EnumPhotonQuantity value)
          Sets the value of the photonQuantity property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

photonQualifier

protected java.util.List<EnumPhotonQualifier> photonQualifier

photonQuantity

protected EnumPhotonQuantity photonQuantity

frequencyRange

protected FrequencyRange frequencyRange
Constructor Detail

Photon

public Photon()
Method Detail

getPhotonQualifier

public java.util.List<EnumPhotonQualifier> getPhotonQualifier()
Gets the value of the photonQualifier 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 photonQualifier property.

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

    getPhotonQualifier().add(newItem);
 

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


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

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