Class Reference
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.pride.prideobjects.Reference
- All Implemented Interfaces:
PrideObject
,Serializable
public class Reference extends ExperimentObject implements PrideObject
A simple publication reference object.
- Author:
- Harald Barsnes
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description 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 com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
Method Details
-
getReference
Returns the reference as a string.- Returns:
- the reference
-
setReference
Set the reference.- Parameters:
reference
- the reference to set
-
getPmid
Returns the PubMed ID of the reference.- Returns:
- the pmid
-
setPmid
Set the PubMed ID of the reference.- Parameters:
pmid
- the pmid to set
-
getDoi
Returns the Digital Object Identifier (DOI) of the reference.- Returns:
- the doi
-
setDoi
Set the Digital Object Identifier (DOI) of the reference.- Parameters:
doi
- the doi to set
-
getFileName
Description copied from interface:PrideObject
Returns the name to use when serializing the object.- Specified by:
getFileName
in interfacePrideObject
- Returns:
- the name to use when serializing the object
-