|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.pride.prideobjects.Reference
public class Reference
A simple publication reference object.
Constructor Summary | |
---|---|
Reference(String reference,
String pmid,
String doi)
Create a new Reference object. |
Method Summary | |
---|---|
static ArrayList<Reference> |
getDefaultReferences()
Returns the default references. |
String |
getDoi()
Returns the Digital Object Identifier (DOI) of the reference. |
String |
getFileName()
Returns the name to use when serializing the object |
String |
getPmid()
Returns the PubMed ID of the reference. |
String |
getReference()
Returns the reference as a string. |
void |
setDoi(String doi)
Set the Digital Object Identifier (DOI) of the reference. |
void |
setPmid(String pmid)
Set the PubMed ID of the reference. |
void |
setReference(String reference)
Set the reference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Reference(String reference, String pmid, String doi)
reference
- pmid
- doi
- Method Detail |
---|
public String getReference()
public void setReference(String reference)
reference
- the reference to setpublic String getPmid()
public void setPmid(String pmid)
pmid
- the pmid to setpublic String getDoi()
public void setDoi(String doi)
doi
- the doi to setpublic static ArrayList<Reference> getDefaultReferences()
public String getFileName()
PrideObject
getFileName
in interface PrideObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |