com.compomics.util.pride
Class CvTerm

java.lang.Object
  extended by 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

Constructor Summary
CvTerm(String ontology, String accession, String name, String value)
          Create a new CV term.
 
Method Summary
 String getAccession()
           
 String getName()
           
 String getOntology()
           
 String getValue()
           
 void setAccession(String accession)
           
 void setName(String name)
           
 void setOntology(String ontology)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CvTerm

public CvTerm(String ontology,
              String accession,
              String name,
              String value)
Create a new CV term.

Parameters:
ontology -
accession -
name -
value -
Method Detail

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