com.compomics.util.pride.prideobjects
Class Protocol

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

public class Protocol
extends java.lang.Object
implements PrideObject, java.io.Serializable

An object for storing Protocol details.

Author:
Harald Barsnes
See Also:
Serialized Form

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

Constructor Detail

Protocol

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

Parameters:
name -
cvTerms -
Method Detail

getName

public java.lang.String getName()
Returns the protocol name.

Returns:
the name

setName

public void setName(java.lang.String name)
Set the protocol name.

Parameters:
name - the name to set

getCvTerms

public java.util.ArrayList<CvTerm> getCvTerms()
Returns the CV terms.

Returns:
the cvTerms

setCvTerms

public void setCvTerms(java.util.ArrayList<CvTerm> cvTerms)
Set the CV terms.

Parameters:
cvTerms - the cvTerms to set

getDefaultProtocols

public static java.util.ArrayList<Protocol> getDefaultProtocols()
Returns a list of default protocols.

Returns:
a list of default protocols

getFileName

public java.lang.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 © 2013. All Rights Reserved.