astronomy.data.spectra.impl
Class IdTypeImpl

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

public class IdTypeImpl
extends Object
implements IdType, com.sun.xml.bind.JAXBObject, UnmarshallableObject, XMLSerializable, ValidatableObject


Nested Class Summary
static class IdTypeImpl.MagnitudeTypeImpl
           
 class IdTypeImpl.Unmarshaller
           
 
Nested classes/interfaces inherited from interface astronomy.data.spectra.IdType
IdType.MagnitudeType
 
Field Summary
protected  CoordinatesType _Coordinates
           
protected  com.sun.xml.bind.util.ListImpl _Magnitude
           
protected  long _Number
           
protected  long _Page
           
protected  float _Redshift
           
protected  String _Source
           
protected  com.sun.xml.bind.util.ListImpl _Spectraname
           
protected  String _Type
           
protected  String _Url
           
protected  boolean has_Number
           
protected  boolean has_Page
           
protected  boolean has_Redshift
           
static Class version
           
 
Constructor Summary
IdTypeImpl()
           
 
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.
 CoordinatesType getCoordinates()
           
 List getMagnitude()
          Gets the value of the Magnitude property.
 long getNumber()
           
 long getPage()
           
 Class getPrimaryInterface()
          Gets the main interface that this object implements.
 float getRedshift()
           
 String getSource()
           
 List getSpectraname()
          Gets the value of the Spectraname property.
 String getType()
           
 String getUrl()
           
 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 setCoordinates(CoordinatesType value)
           
 void setNumber(long value)
           
 void setPage(long value)
           
 void setRedshift(float value)
           
 void setSource(String value)
           
 void setType(String value)
           
 void setUrl(String 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_Redshift

protected boolean has_Redshift

_Redshift

protected float _Redshift

_Coordinates

protected CoordinatesType _Coordinates

_Spectraname

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

_Magnitude

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

has_Number

protected boolean has_Number

_Number

protected long _Number

_Url

protected String _Url

_Source

protected String _Source

has_Page

protected boolean has_Page

_Page

protected long _Page

version

public static final Class version
Constructor Detail

IdTypeImpl

public IdTypeImpl()
Method Detail

getType

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

setType

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

getRedshift

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

setRedshift

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

getCoordinates

public CoordinatesType getCoordinates()
Specified by:
getCoordinates in interface IdType
Returns:
possible object is CoordinatesType

setCoordinates

public void setCoordinates(CoordinatesType value)
Specified by:
setCoordinates in interface IdType
Parameters:
value - allowed object is CoordinatesType

getSpectraname

public List getSpectraname()
Description copied from interface: IdType
Gets the value of the Spectraname 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 Spectraname property. For example, to add a new item, do as follows:
    getSpectraname().add(newItem);
 
Objects of the following type(s) are allowed in the list String

Specified by:
getSpectraname in interface IdType

getMagnitude

public List getMagnitude()
Description copied from interface: IdType
Gets the value of the Magnitude 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 Magnitude property. For example, to add a new item, do as follows:
    getMagnitude().add(newItem);
 
Objects of the following type(s) are allowed in the list IdType.MagnitudeType

Specified by:
getMagnitude in interface IdType

getNumber

public long getNumber()
Specified by:
getNumber in interface IdType

setNumber

public void setNumber(long value)
Specified by:
setNumber in interface IdType

getUrl

public String getUrl()
Specified by:
getUrl in interface IdType
Returns:
possible object is String

setUrl

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

getSource

public String getSource()
Specified by:
getSource in interface IdType
Returns:
possible object is String

setSource

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

getPage

public long getPage()
Specified by:
getPage in interface IdType

setPage

public void setPage(long value)
Specified by:
setPage in interface IdType

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