edu.mssm.crover.webapps.dimlib.datamodel
Class LiteratureReferenceImpl

java.lang.Object
  |
  +--edu.mssm.crover.webapps.dimlib.datamodel.LiteratureReferenceImpl
All Implemented Interfaces:
java.lang.Comparable, LiteratureReference

public class LiteratureReferenceImpl
extends java.lang.Object
implements LiteratureReference, java.lang.Comparable

Implements LiteratureReference.

Version:
$Revision: 1.5 $
Author:
Fabien Campagne, luce

Constructor Summary
LiteratureReferenceImpl()
           
LiteratureReferenceImpl(long pmid)
           
 
Method Summary
 void addToAuthors(java.lang.String a)
           
 int compareTo(java.lang.Object o)
          Natural ordering of LiteratureReference - by PMID.
 boolean equals(java.lang.Object o)
           
 java.util.Collection getAuthors()
           
 java.lang.String getDetails()
           
 java.lang.String getFirstAuthor()
           
 int getIssue()
           
 java.lang.String getJournal()
           
 java.lang.String getPages()
           
 long getPMID()
           
 java.lang.String getTitle()
           
 int getVolume()
           
 int getYear()
           
 int hashCode()
           
 void setAuthors(java.util.Collection a)
           
 void setIssue(int i)
           
 void setJournal(java.lang.String j)
           
 void setPages(java.lang.String p)
           
 void setPMID(long PMID)
           
 void setTitle(java.lang.String t)
           
 void setVolume(int v)
           
 void setYear(int y)
           
 java.lang.String toLongString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LiteratureReferenceImpl

public LiteratureReferenceImpl()

LiteratureReferenceImpl

public LiteratureReferenceImpl(long pmid)
Method Detail

getPMID

public long getPMID()
Specified by:
getPMID in interface LiteratureReference

setPMID

public void setPMID(long PMID)
Specified by:
setPMID in interface LiteratureReference

getDetails

public java.lang.String getDetails()
Specified by:
getDetails in interface LiteratureReference

getAuthors

public java.util.Collection getAuthors()
Specified by:
getAuthors in interface LiteratureReference

setAuthors

public void setAuthors(java.util.Collection a)
Specified by:
setAuthors in interface LiteratureReference

addToAuthors

public void addToAuthors(java.lang.String a)
Specified by:
addToAuthors in interface LiteratureReference

getFirstAuthor

public java.lang.String getFirstAuthor()
Specified by:
getFirstAuthor in interface LiteratureReference

getJournal

public java.lang.String getJournal()
Specified by:
getJournal in interface LiteratureReference

setJournal

public void setJournal(java.lang.String j)
Specified by:
setJournal in interface LiteratureReference

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface LiteratureReference

setTitle

public void setTitle(java.lang.String t)
Specified by:
setTitle in interface LiteratureReference

getYear

public int getYear()
Specified by:
getYear in interface LiteratureReference

setYear

public void setYear(int y)
Specified by:
setYear in interface LiteratureReference

getVolume

public int getVolume()
Specified by:
getVolume in interface LiteratureReference

setVolume

public void setVolume(int v)
Specified by:
setVolume in interface LiteratureReference

getIssue

public int getIssue()
Specified by:
getIssue in interface LiteratureReference

setIssue

public void setIssue(int i)
Specified by:
setIssue in interface LiteratureReference

getPages

public java.lang.String getPages()
Specified by:
getPages in interface LiteratureReference

setPages

public void setPages(java.lang.String p)
Specified by:
setPages in interface LiteratureReference

toString

public java.lang.String toString()
Specified by:
toString in interface LiteratureReference
Overrides:
toString in class java.lang.Object

toLongString

public java.lang.String toLongString()
Specified by:
toLongString in interface LiteratureReference

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface LiteratureReference
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface LiteratureReference
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Natural ordering of LiteratureReference - by PMID.

Specified by:
compareTo in interface LiteratureReference


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