Class Protocol

All Implemented Interfaces:
PrideObject, Serializable

public class Protocol extends ExperimentObject implements PrideObject
An object for storing Protocol details.
Author:
Harald Barsnes
See Also:
  • Constructor Details

    • Protocol

      public Protocol()
      Empty default constructor
    • Protocol

      public Protocol(String name, ArrayList<CvTerm> cvTerms)
      Create a new Protocol object.
      Parameters:
      name - the name
      cvTerms - the CV terms
  • Method Details

    • getName

      public String getName()
      Returns the protocol name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Set the protocol name.
      Parameters:
      name - the name to set
    • getCvTerms

      public ArrayList<CvTerm> getCvTerms()
      Returns the CV terms.
      Returns:
      the cvTerms
    • setCvTerms

      public void setCvTerms(ArrayList<CvTerm> cvTerms)
      Set the CV terms.
      Parameters:
      cvTerms - the cvTerms to set
    • getDefaultProtocols

      public static ArrayList<Protocol> getDefaultProtocols()
      Returns a list of default protocols.
      Returns:
      a list of default protocols
    • 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