Class Protocol
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.pride.prideobjects.Protocol
- All Implemented Interfaces:
PrideObject,Serializable
An object for storing Protocol details.
- Author:
- Harald Barsnes
- See Also:
-
Field Summary
Fields inherited from class com.compomics.util.experiment.personalization.ExperimentObject
NO_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the CV terms.Returns a list of default protocols.Returns the name to use when serializing the object.getName()Returns the protocol name.voidsetCvTerms(ArrayList<CvTerm> cvTerms) Set the CV terms.voidSet the protocol name.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
Protocol
public Protocol()Empty default constructor -
Protocol
Create a new Protocol object.- Parameters:
name- the namecvTerms- the CV terms
-
-
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:PrideObjectReturns the name to use when serializing the object.- Specified by:
getFileNamein interfacePrideObject- Returns:
- the name to use when serializing the object
-