com.compomics.util.pride.prideobjects
Class Protocol

java.lang.Object
  extended by com.compomics.util.pride.prideobjects.Protocol
All Implemented Interfaces:
PrideObject, Serializable

public class Protocol
extends Object
implements PrideObject, Serializable

An object for storing Protocol details.

Author:
Harald Barsnes
See Also:
Serialized Form

Constructor Summary
Protocol(String name, ArrayList<CvTerm> cvTerms)
          Create a new Protocol object.
 
Method Summary
 ArrayList<CvTerm> getCvTerms()
           
static ArrayList<Protocol> getDefaultProtocols()
          Returns a list of default protocols
 String getFileName()
          Returns the name to use when serializing the object
 String getName()
           
 void setCvTerms(ArrayList<CvTerm> cvTerms)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Protocol

public Protocol(String name,
                ArrayList<CvTerm> cvTerms)
Create a new Protocol object.

Parameters:
name -
cvTerms -
Method Detail

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getCvTerms

public ArrayList<CvTerm> getCvTerms()
Returns:
the cvTerms

setCvTerms

public void setCvTerms(ArrayList<CvTerm> cvTerms)
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


Copyright © 2012. All Rights Reserved.