com.compomics.util.pride
Class CvTerm
java.lang.Object
com.compomics.util.pride.CvTerm
- All Implemented Interfaces:
- Serializable
public class CvTerm
- extends Object
- implements Serializable
A simple CvTerm object.
- Author:
- Harald Barsnes
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CvTerm
public CvTerm(String ontology,
String accession,
String name,
String value)
- Create a new CV term.
- Parameters:
ontology
- accession
- name
- value
-
getOntology
public String getOntology()
- Returns:
- the ontology
setOntology
public void setOntology(String ontology)
- Parameters:
ontology
- the ontology to set
getAccession
public String getAccession()
- Returns:
- the accession
setAccession
public void setAccession(String accession)
- Parameters:
accession
- the accession to set
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name
- the name to set
getValue
public String getValue()
- Returns:
- the value
setValue
public void setValue(String value)
- Parameters:
value
- the value to set
Copyright © 2012. All Rights Reserved.