CVTerm

class pyopenms.CVTerm

Bases: object

Cython implementation of _CVTerm

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1CVTerm.html

__init__()
  • Cython signature: void CVTerm()

  • Cython signature: void CVTerm(CVTerm &)

Methods

__init__

  • Cython signature: void CVTerm()

getAccession

Cython signature: String getAccession() Returns the accession string of the term

getCVIdentifierRef

Cython signature: String getCVIdentifierRef() Returns the CV identifier reference string

getName

Cython signature: String getName() Returns the name of the term

getUnit

Cython signature: Unit getUnit() Returns the unit

getValue

Cython signature: DataValue getValue() Returns the value of the term

hasUnit

Cython signature: bool hasUnit() Checks whether the term has a unit

hasValue

Cython signature: bool hasValue() Checks whether the term has a value

setAccession

Cython signature: void setAccession(String accession) Sets the accession string of the term

setCVIdentifierRef

Cython signature: void setCVIdentifierRef(String cv_id_ref) Sets the CV identifier reference string, e.g.

setName

Cython signature: void setName(String name) Sets the name of the term

setUnit

Cython signature: void setUnit(Unit & unit) Sets the unit of the term

setValue

Cython signature: void setValue(DataValue value) Sets the value of the term

getAccession()

Cython signature: String getAccession() Returns the accession string of the term

getCVIdentifierRef()

Cython signature: String getCVIdentifierRef() Returns the CV identifier reference string

getName()

Cython signature: String getName() Returns the name of the term

getUnit()

Cython signature: Unit getUnit() Returns the unit

getValue()

Cython signature: DataValue getValue() Returns the value of the term

hasUnit()

Cython signature: bool hasUnit() Checks whether the term has a unit

hasValue()

Cython signature: bool hasValue() Checks whether the term has a value

setAccession()

Cython signature: void setAccession(String accession) Sets the accession string of the term

setCVIdentifierRef()

Cython signature: void setCVIdentifierRef(String cv_id_ref) Sets the CV identifier reference string, e.g. UO for unit obo

setName()

Cython signature: void setName(String name) Sets the name of the term

setUnit()

Cython signature: void setUnit(Unit & unit) Sets the unit of the term

setValue()

Cython signature: void setValue(DataValue value) Sets the value of the term