|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ebi.intenz.domain.reference.Reference
uk.ac.ebi.intenz.domain.reference.Journal
public class Journal
This class stores additional information about a journal.
Instances of this class are immutable.
Constructor Summary | |
---|---|
Journal(Long id,
String authors,
String title,
String year,
String pubName,
String firstPage,
String lastPage,
String volume,
String pubMedId,
String medlineId,
EnzymeViewConstant view,
EnzymeSourceConstant source)
Returns a Journal instance. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Standard equals() method. |
String |
getFirstPage()
|
String |
getLastPage()
|
String |
getMedlineId()
|
String |
getPubMedId()
|
String |
getPubName()
|
String |
getVolume()
|
int |
hashCode()
Generates a hash code for this object. |
String |
toString()
Returns a string representation of this book. |
String |
toXML(int number,
boolean intenzTextXML)
|
Methods inherited from class uk.ac.ebi.intenz.domain.reference.Reference |
---|
getAuthors, getPubId, getSource, getTitle, getView, getYear |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Journal(Long id, String authors, String title, String year, String pubName, String firstPage, String lastPage, String volume, String pubMedId, String medlineId, EnzymeViewConstant view, EnzymeSourceConstant source)
id
- The pubId.authors
- The string containing all author names.title
- The title of the publication.year
- The year of the publication.pubName
- The journal's name.firstPage
- The first page of the article.lastPage
- The last page of the article.volume
- The journal's volume.pubMedId
- The PubMed ID.medlineId
- The Medline ID
NullPointerException
- if any parameter is null
.Method Detail |
---|
public String toString()
toString
in class Object
public boolean equals(Object o)
equals()
method.
equals
in class Reference
o
- The object to be compared to this one.
true
if o
is equal to this object.public int hashCode()
hashCode
in class Reference
public String getPubName()
public String getFirstPage()
public String getLastPage()
public String getVolume()
public String getPubMedId()
public String getMedlineId()
public String toXML(int number, boolean intenzTextXML)
toXML
in class Reference
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |