edu.mssm.crover.representation
Class Origin

java.lang.Object
  |
  +--edu.mssm.crover.representation.Origin
All Implemented Interfaces:
BiologicalOrigin, RootObject, java.io.Serializable
Direct Known Subclasses:
PDBReaderOrigin, SwissProtReaderOrigin

public class Origin
extends java.lang.Object
implements BiologicalOrigin, java.io.Serializable

Default implementation of BiologicalOrigin.

Author:
Fabien Campagne
See Also:
Serialized Form

Constructor Summary
Origin()
           
 
Method Summary
 java.lang.String getAccessionCode()
          Returns the accession code inside the origin database.
 java.lang.String getDataBaseName()
          Returns the name of the database which curates this information.
 java.lang.String getShortName()
          Returns the shortname for this origin.
 void setAccessionCode(java.lang.String x)
          Sets the accession code inside the origin database.
 void setDataBaseName(java.lang.String x)
          Sets the name of the database which curates this information.
 void setShortName(java.lang.String x)
          Sets the shortname for this origin.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Origin

public Origin()
Method Detail

getDataBaseName

public java.lang.String getDataBaseName()
Description copied from interface: BiologicalOrigin
Returns the name of the database which curates this information.

Specified by:
getDataBaseName in interface BiologicalOrigin

getAccessionCode

public java.lang.String getAccessionCode()
Description copied from interface: BiologicalOrigin
Returns the accession code inside the origin database.

Specified by:
getAccessionCode in interface BiologicalOrigin

getShortName

public java.lang.String getShortName()
Description copied from interface: BiologicalOrigin
Returns the shortname for this origin.

Specified by:
getShortName in interface BiologicalOrigin

setDataBaseName

public void setDataBaseName(java.lang.String x)
Description copied from interface: BiologicalOrigin
Sets the name of the database which curates this information.

Specified by:
setDataBaseName in interface BiologicalOrigin

setAccessionCode

public void setAccessionCode(java.lang.String x)
Description copied from interface: BiologicalOrigin
Sets the accession code inside the origin database.

Specified by:
setAccessionCode in interface BiologicalOrigin

setShortName

public void setShortName(java.lang.String x)
Description copied from interface: BiologicalOrigin
Sets the shortname for this origin.

Specified by:
setShortName in interface BiologicalOrigin

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.