astronomy.data.spectra.impl
Class ReferenceTypeImpl

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

public class ReferenceTypeImpl
extends Object
implements ReferenceType, com.sun.xml.bind.JAXBObject, UnmarshallableObject, XMLSerializable, ValidatableObject


Nested Class Summary
static class ReferenceTypeImpl.JournalTypeImpl
           
 class ReferenceTypeImpl.Unmarshaller
           
 
Nested classes/interfaces inherited from interface astronomy.data.spectra.ReferenceType
ReferenceType.JournalType
 
Field Summary
protected  String _Adscode
           
protected  com.sun.xml.bind.util.ListImpl _Author
           
protected  ReferenceType.JournalType _Journal
           
protected  long _Page
           
protected  long _Volume
           
protected  String _Year
           
protected  boolean has_Page
           
protected  boolean has_Volume
           
static Class version
           
 
Constructor Summary
ReferenceTypeImpl()
           
 
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.
 String getAdscode()
           
 List getAuthor()
          Gets the value of the Author property.
 ReferenceType.JournalType getJournal()
           
 long getPage()
           
 Class getPrimaryInterface()
          Gets the main interface that this object implements.
 long getVolume()
           
 String getYear()
           
 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 setAdscode(String value)
           
 void setJournal(ReferenceType.JournalType value)
           
 void setPage(long value)
           
 void setVolume(long value)
           
 void setYear(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Year

protected String _Year

_Journal

protected ReferenceType.JournalType _Journal

_Adscode

protected String _Adscode

_Author

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

has_Volume

protected boolean has_Volume

_Volume

protected long _Volume

has_Page

protected boolean has_Page

_Page

protected long _Page

version

public static final Class version
Constructor Detail

ReferenceTypeImpl

public ReferenceTypeImpl()
Method Detail

getYear

public String getYear()
Specified by:
getYear in interface ReferenceType
Returns:
possible object is String

setYear

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

getJournal

public ReferenceType.JournalType getJournal()
Specified by:
getJournal in interface ReferenceType
Returns:
possible object is ReferenceType.JournalType

setJournal

public void setJournal(ReferenceType.JournalType value)
Specified by:
setJournal in interface ReferenceType
Parameters:
value - allowed object is ReferenceType.JournalType

getAdscode

public String getAdscode()
Specified by:
getAdscode in interface ReferenceType
Returns:
possible object is String

setAdscode

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

getAuthor

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

Specified by:
getAuthor in interface ReferenceType

getVolume

public long getVolume()
Specified by:
getVolume in interface ReferenceType

setVolume

public void setVolume(long value)
Specified by:
setVolume in interface ReferenceType

getPage

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

setPage

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

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