Class 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
  • Constructor Details

    • Reference

      public Reference()
      Empty default constructor
    • Reference

      public Reference​(String reference, String pmid, String doi)
      Create a new Reference object.
      Parameters:
      reference - the reference
      pmid - the PubMed ID
      doi - the DOI
  • Method Details

    • getReference

      public String getReference()
      Returns the reference as a string.
      Returns:
      the reference
    • setReference

      public void setReference​(String reference)
      Set the reference.
      Parameters:
      reference - the reference to set
    • getPmid

      public String getPmid()
      Returns the PubMed ID of the reference.
      Returns:
      the pmid
    • setPmid

      public void setPmid​(String pmid)
      Set the PubMed ID of the reference.
      Parameters:
      pmid - the pmid to set
    • getDoi

      public String getDoi()
      Returns the Digital Object Identifier (DOI) of the reference.
      Returns:
      the doi
    • setDoi

      public void setDoi​(String doi)
      Set the Digital Object Identifier (DOI) of the reference.
      Parameters:
      doi - the doi to set
    • getFileName

      public String getFileName()
      Description copied from interface: PrideObject
      Returns the name to use when serializing the object.
      Specified by:
      getFileName in interface PrideObject
      Returns:
      the name to use when serializing the object