Class Protocol
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.pride.prideobjects.Protocol
- All Implemented Interfaces:
PrideObject
,Serializable
public class Protocol extends ExperimentObject implements PrideObject
An object for storing Protocol details.
- Author:
- Harald Barsnes
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description ArrayList<CvTerm>
getCvTerms()
Returns the CV terms.static ArrayList<Protocol>
getDefaultProtocols()
Returns a list of default protocols.String
getFileName()
Returns the name to use when serializing the object.String
getName()
Returns the protocol name.void
setCvTerms(ArrayList<CvTerm> cvTerms)
Set the CV terms.void
setName(String name)
Set the protocol name.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
Method Details
-
getName
Returns the protocol name.- Returns:
- the name
-
setName
Set the protocol name.- Parameters:
name
- the name to set
-
getCvTerms
Returns the CV terms.- Returns:
- the cvTerms
-
setCvTerms
Set the CV terms.- Parameters:
cvTerms
- the cvTerms to set
-
getDefaultProtocols
Returns a list of default protocols.- Returns:
- a list of default protocols
-
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
-