Package com.compomics.util.pride
Class CvTerm
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.pride.CvTerm
- All Implemented Interfaces:
Serializable
A simple CvTerm object.
- 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 accession.getName()Returns the name.Returns the ontology.getValue()Returns the value.voidsetAccession(String accession) Sets the accession.voidSets the name.voidsetOntology(String ontology) Sets the ontology.voidSets the value.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
CvTerm
public CvTerm()Empty default constructor -
CvTerm
Create a new CV term.- Parameters:
ontology- the ontologyaccession- the accessionname- the namevalue- the value
-
-
Method Details
-
getOntology
Returns the ontology.- Returns:
- the ontology
-
setOntology
Sets the ontology.- Parameters:
ontology- the ontology to set
-
getAccession
Returns the accession.- Returns:
- the accession
-
setAccession
Sets the accession.- Parameters:
accession- the accession to set
-
getName
Returns the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the name to set
-
getValue
Returns the value.- Returns:
- the value
-
setValue
Sets the value.- Parameters:
value- the value to set
-