uk.ac.ebi.intenz.domain.reference
Class Journal

java.lang.Object
  extended by uk.ac.ebi.intenz.domain.reference.Reference
      extended by uk.ac.ebi.intenz.domain.reference.Journal

public class Journal
extends Reference

This class stores additional information about a journal.

Instances of this class are immutable.

Version:
$Revision: 1.2 $ $Date: 2008/01/28 12:33:10 $
Author:
Michael Darsow

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

Journal

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)
Returns a Journal instance.

Parameters:
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
Throws:
NullPointerException - if any parameter is null.
Method Detail

toString

public String toString()
Returns a string representation of this book.

Overrides:
toString in class Object
Returns:
the string representation.

equals

public boolean equals(Object o)
Standard equals() method.

Overrides:
equals in class Reference
Parameters:
o - The object to be compared to this one.
Returns:
true if o is equal to this object.

hashCode

public int hashCode()
Generates a hash code for this object.

Overrides:
hashCode in class Reference
Returns:
the hash code.

getPubName

public String getPubName()

getFirstPage

public String getFirstPage()

getLastPage

public String getLastPage()

getVolume

public String getVolume()

getPubMedId

public String getPubMedId()

getMedlineId

public String getMedlineId()

toXML

public String toXML(int number,
                    boolean intenzTextXML)
Overrides:
toXML in class Reference


Copyright © 2013 EMBL-EBI. All Rights Reserved.