astronomy.data.spectra.impl
Class WavelengthTypeImpl

java.lang.Object
  extended by astronomy.data.spectra.impl.WavelengthTypeImpl
All Implemented Interfaces:
UnmarshallableObject, ValidatableObject, XMLSerializable, WavelengthType, com.sun.xml.bind.JAXBObject

public class WavelengthTypeImpl
extends Object
implements WavelengthType, com.sun.xml.bind.JAXBObject, UnmarshallableObject, XMLSerializable, ValidatableObject


Nested Class Summary
 class WavelengthTypeImpl.Unmarshaller
           
 
Field Summary
protected  float _Redshift
           
protected  String _Type
           
protected  String _Unit
           
protected  float _Value
           
protected  boolean has_Redshift
           
protected  boolean has_Value
           
static Class version
           
 
Constructor Summary
WavelengthTypeImpl()
           
 
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.
 Class getPrimaryInterface()
          Gets the main interface that this object implements.
 float getRedshift()
           
 String getType()
           
 String getUnit()
           
 float getValue()
           
 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 setRedshift(float value)
           
 void setType(String value)
           
 void setUnit(String value)
           
 void setValue(float value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Type

protected String _Type

has_Value

protected boolean has_Value

_Value

protected float _Value

has_Redshift

protected boolean has_Redshift

_Redshift

protected float _Redshift

_Unit

protected String _Unit

version

public static final Class version
Constructor Detail

WavelengthTypeImpl

public WavelengthTypeImpl()
Method Detail

getType

public String getType()
Specified by:
getType in interface WavelengthType
Returns:
possible object is String

setType

public void setType(String value)
Specified by:
setType in interface WavelengthType
Parameters:
value - allowed object is String

getValue

public float getValue()
Specified by:
getValue in interface WavelengthType

setValue

public void setValue(float value)
Specified by:
setValue in interface WavelengthType

getRedshift

public float getRedshift()
Specified by:
getRedshift in interface WavelengthType

setRedshift

public void setRedshift(float value)
Specified by:
setRedshift in interface WavelengthType

getUnit

public String getUnit()
Specified by:
getUnit in interface WavelengthType
Returns:
possible object is String

setUnit

public void setUnit(String value)
Specified by:
setUnit in interface WavelengthType
Parameters:
value - allowed object is String

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