public class Book extends Reference
Constructor and Description |
---|
Book(Long id,
String authors,
String title,
String year,
String firstPage,
String lastPage,
String pubName,
String edition,
String editor,
String volume,
String publisher,
String publisherPlace,
EnzymeViewConstant view,
EnzymeSourceConstant source)
Returns a
Book instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Standard
equals() method. |
String |
getEdition() |
String |
getEdition(boolean formatted)
Returns the edition string as it is stored in the database or formatted.
|
String |
getEditor() |
String |
getEditor(boolean formatted)
Returns the editor string as it is stored in the database or formatted.
|
String |
getFirstPage() |
String |
getLastPage() |
String |
getPublisher() |
String |
getPublisherPlace() |
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) |
public Book(Long id, String authors, String title, String year, String firstPage, String lastPage, String pubName, String edition, String editor, String volume, String publisher, String publisherPlace, EnzymeViewConstant view, EnzymeSourceConstant source)
Book
instance.id
- The pubId.authors
- String containing all author names.title
- The title of the publication.year
- The year of the publication.firstPage
- The first page of the publication in the book.lastPage
- The last page of the publication in the book.pubName
- The name of the book.edition
- The edition.editor
- The editor(s).volume
- The book's volume.publisher
- The company that published this book.publisherPlace
- The place of the company.NullPointerException
- if any paramter is null
.public String toString()
public boolean equals(Object o)
equals()
method.public int hashCode()
public String getFirstPage()
public String getLastPage()
public String getEdition(boolean formatted)
formatted
- true
, if it should be formatted.public String getEdition()
public String getEditor(boolean formatted)
formatted
- true
, if it should be formatted.public String getEditor()
public String getPublisher()
public String getPublisherPlace()
public String getPubName()
public String getVolume()
Copyright © 2014 EMBL-EBI. All rights reserved.