astronomy.data.spectra.impl
Class LineTypeImpl

java.lang.Object
  extended by astronomy.data.spectra.impl.LineTypeImpl
All Implemented Interfaces:
UnmarshallableObject, ValidatableObject, XMLSerializable, LineType, com.sun.xml.bind.JAXBObject
Direct Known Subclasses:
SpectraTypeImpl.AbsorptionlineTypeImpl, SpectraTypeImpl.DiscontinuityTypeImpl, SpectraTypeImpl.EmissionlineTypeImpl

public class LineTypeImpl
extends Object
implements LineType, com.sun.xml.bind.JAXBObject, UnmarshallableObject, XMLSerializable, ValidatableObject


Nested Class Summary
static class LineTypeImpl.TransitionTypeImpl
           
 class LineTypeImpl.Unmarshaller
           
 
Nested classes/interfaces inherited from interface astronomy.data.spectra.LineType
LineType.TransitionType
 
Field Summary
protected  float _Intensity
           
protected  com.sun.xml.bind.util.ListImpl _Transition
           
protected  float _Wavelength
           
protected  float _Width
           
protected  boolean has_Intensity
           
protected  boolean has_Wavelength
           
protected  boolean has_Width
           
static Class version
           
 
Constructor Summary
LineTypeImpl()
           
 
Method Summary
 com.sun.msv.verifier.DocumentDeclaration createRawValidator()
          Gets the schema fragment associated with this class.
 UnmarshallingEventHandler createUnmarshaller(UnmarshallingContext context)
          Creates an unmarshaller that will unmarshall this object.
 float getIntensity()
           
 Class getPrimaryInterface()
          Gets the main interface that this object implements.
 List getTransition()
          Gets the value of the Transition property.
 float getWavelength()
           
 float getWidth()
           
 void serializeAttributeBody(XMLSerializer context)
          Serializes itself as an attribute body into the specified target.
 void serializeAttributes(XMLSerializer context)
          Serializes attributes into the specified target.
 void serializeElementBody(XMLSerializer context)
          Serializes child elements and texts into the specified target.
 void serializeURIs(XMLSerializer context)
          Declares all the namespace URIs this object is using at its top-level scope into the specified target.
 void setIntensity(float value)
           
 void setWavelength(float value)
           
 void setWidth(float value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

has_Wavelength

protected boolean has_Wavelength

_Wavelength

protected float _Wavelength

has_Width

protected boolean has_Width

_Width

protected float _Width

has_Intensity

protected boolean has_Intensity

_Intensity

protected float _Intensity

_Transition

protected com.sun.xml.bind.util.ListImpl _Transition

version

public static final Class version
Constructor Detail

LineTypeImpl

public LineTypeImpl()
Method Detail

getWavelength

public float getWavelength()
Specified by:
getWavelength in interface LineType

setWavelength

public void setWavelength(float value)
Specified by:
setWavelength in interface LineType

getWidth

public float getWidth()
Specified by:
getWidth in interface LineType

setWidth

public void setWidth(float value)
Specified by:
setWidth in interface LineType

getIntensity

public float getIntensity()
Specified by:
getIntensity in interface LineType

setIntensity

public void setIntensity(float value)
Specified by:
setIntensity in interface LineType

getTransition

public List getTransition()
Description copied from interface: LineType
Gets the value of the Transition 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's any setter method for the Transition property. For example, to add a new item, do as follows:
    getTransition().add(newItem);
 
Objects of the following type(s) are allowed in the list LineType.TransitionType

Specified by:
getTransition in interface LineType

createUnmarshaller

public UnmarshallingEventHandler createUnmarshaller(UnmarshallingContext context)
Description copied from interface: UnmarshallableObject
Creates an unmarshaller that will unmarshall this object.

Specified by:
createUnmarshaller in interface UnmarshallableObject

serializeElementBody

public void serializeElementBody(XMLSerializer context)
                          throws SAXException
Description copied from interface: XMLSerializable
Serializes child elements and texts into the specified target.

Specified by:
serializeElementBody in interface XMLSerializable
Throws:
SAXException

serializeAttributes

public void serializeAttributes(XMLSerializer context)
                         throws SAXException
Description copied from interface: XMLSerializable
Serializes attributes into the specified target.

Specified by:
serializeAttributes in interface XMLSerializable
Throws:
SAXException

serializeAttributeBody

public void serializeAttributeBody(XMLSerializer context)
                            throws SAXException
Description copied from interface: XMLSerializable
Serializes itself as an attribute body into the specified target.

Specified by:
serializeAttributeBody in interface XMLSerializable
Throws:
SAXException

serializeURIs

public void serializeURIs(XMLSerializer context)
                   throws SAXException
Description copied from interface: XMLSerializable
Declares all the namespace URIs this object is using at its top-level scope into the specified target.

Specified by:
serializeURIs in interface XMLSerializable
Throws:
SAXException

getPrimaryInterface

public Class getPrimaryInterface()
Description copied from interface: ValidatableObject
Gets the main interface that this object implements. For example, FooImpl will return Foo from this method.

Specified by:
getPrimaryInterface in interface ValidatableObject

createRawValidator

public com.sun.msv.verifier.DocumentDeclaration createRawValidator()
Description copied from interface: ValidatableObject
Gets the schema fragment associated with this class.

Specified by:
createRawValidator in interface ValidatableObject