Package org.lifstools.jgoslin.domain
Class Adduct
java.lang.Object
org.lifstools.jgoslin.domain.Adduct
An adduct, generally, consists of a sum formula part, an adduct string, the
charge and the charge sign. An example for a valid adduct is : [M+H]1+.
- Author:
- Dominik Kopczynski, Nils Hoffmann
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the positive elementary charge times the charge sign.int
void
setAdductString
(String adductString) void
setCharge
(int charge) void
setChargeSign
(int _sign) void
setSumFormula
(String sumFormula)
-
Field Details
-
ADDUCTS
-
ADDUCT_CHARGES
-
-
Constructor Details
-
Adduct
-
Adduct
-
-
Method Details
-
setSumFormula
-
getSumFormula
-
setAdductString
-
getAdductString
-
setChargeSign
-
getChargeSign
-
setCharge
-
getLipidString
-
getElements
-
getCharge
Returns the positive elementary charge times the charge sign.- Returns:
- the net charge.
-