|
||||||||||
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.Patent
public class Patent
This class stores additional information about patents.
Instances of this class are immutable.
Constructor Summary | |
---|---|
Patent(Long id,
String authors,
String title,
String year,
String patentNumber,
EnzymeViewConstant view,
EnzymeSourceConstant source)
Returns a Patent instance. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Standard equals() method. |
String |
getPatentNumber()
|
int |
hashCode()
Generates a hash code for this object. |
String |
toString()
Returns a string representation of this patent. |
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 Patent(Long id, String authors, String title, String year, String patentNumber, EnzymeViewConstant view, EnzymeSourceConstant source)
Patent
instance.
id
- The pubIdauthors
- String containing all author names.title
- The title of the publication.year
- The year of the publication.patentNumber
- The patent number.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 getPatentNumber()
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 |