Package org.lifstools.jgoslin.domain
Class FattyAcid
java.lang.Object
org.lifstools.jgoslin.domain.FunctionalGroup
org.lifstools.jgoslin.domain.FattyAcid
- Direct Known Subclasses:
LipidSpeciesInfo
A fatty acid with a specific type. This object defines the name, position,
number of carbon atoms, hydroxyls and double bonds, as well as the bond type
to the head group. A FattyAcid can carry optional modifications / functional groups and can
report double bond positions.
- Author:
- Dominik Kopczynski, Nils Hoffmann
-
Field Summary
Fields inherited from class org.lifstools.jgoslin.domain.FunctionalGroup
atomic, count, doubleBonds, elements, functionalGroups, knownFunctionalGroups, name, position, ringStereo, stereochemistry
-
Constructor Summary
ConstructorDescriptionFattyAcid
(String _name, int _num_carbon, DoubleBonds _double_bonds) FattyAcid
(String _name, int _num_carbon, DoubleBonds _double_bonds, HashMap<String, ArrayList<FunctionalGroup>> _functional_groups, KnownFunctionalGroups knownFunctionalGroups) FattyAcid
(String _name, int _num_carbon, DoubleBonds _double_bonds, HashMap<String, ArrayList<FunctionalGroup>> _functional_groups, LipidFaBondType _lipid_FA_bond_type, int _position, KnownFunctionalGroups knownFunctionalGroups) FattyAcid
(String _name, int _num_carbon, DoubleBonds _double_bonds, HashMap<String, ArrayList<FunctionalGroup>> _functional_groups, LipidFaBondType _lipid_FA_bond_type, KnownFunctionalGroups knownFunctionalGroups) FattyAcid
(String _name, int _num_carbon, DoubleBonds _double_bonds, KnownFunctionalGroups knownFunctionalGroups) FattyAcid
(String _name, int _num_carbon, KnownFunctionalGroups knownFunctionalGroups) FattyAcid
(String _name, KnownFunctionalGroups knownFunctionalGroups) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copy()
int
int
getPrefix
(LipidFaBondType lipid_FA_bond_type) boolean
lipidFaBondTypePrefix
(LipidFaBondType lipid_FA_bond_type) void
setLipidFaBondType
(LipidFaBondType lipidFaBondType) void
setNumCarbon
(int numCarbon) void
setType
(LipidFaBondType _lipid_FA_bond_type) toString
(LipidLevel level) Methods inherited from class org.lifstools.jgoslin.domain.FunctionalGroup
addPosition, computeAndCopyElements, getCount, getDoubleBonds, getElements, getFunctionalGroups, getFunctionalGroupsInternal, getName, getPosition, getRingStereo, getStereochemistry, getTotalFunctionalGroupCount, isAtomic, setAtomic, setCount, setDoubleBonds, setElements, setFunctionalGroups, setName, setPosition, setRingStereo, setStereochemistry, shiftPositions
-
Field Details
-
numCarbon
-
lipidFaBondType
-
-
Constructor Details
-
FattyAcid
-
FattyAcid
-
FattyAcid
public FattyAcid(String _name, int _num_carbon, DoubleBonds _double_bonds, KnownFunctionalGroups knownFunctionalGroups) -
FattyAcid
-
FattyAcid
public FattyAcid(String _name, int _num_carbon, DoubleBonds _double_bonds, HashMap<String, ArrayList<FunctionalGroup>> _functional_groups, KnownFunctionalGroups knownFunctionalGroups) -
FattyAcid
public FattyAcid(String _name, int _num_carbon, DoubleBonds _double_bonds, HashMap<String, ArrayList<FunctionalGroup>> _functional_groups, LipidFaBondType _lipid_FA_bond_type, KnownFunctionalGroups knownFunctionalGroups) -
FattyAcid
public FattyAcid(String _name, int _num_carbon, DoubleBonds _double_bonds, HashMap<String, ArrayList<FunctionalGroup>> _functional_groups, LipidFaBondType _lipid_FA_bond_type, int _position, KnownFunctionalGroups knownFunctionalGroups)
-
-
Method Details
-
copy
- Overrides:
copy
in classFunctionalGroup
-
setType
-
getPrefix
-
getNDoubleBonds
- Overrides:
getNDoubleBonds
in classFunctionalGroup
-
lipidFaBondTypePrefix
-
toString
- Overrides:
toString
in classFunctionalGroup
-
getFunctionalGroupElements
- Overrides:
getFunctionalGroupElements
in classFunctionalGroup
-
computeElements
- Overrides:
computeElements
in classFunctionalGroup
-
getNumCarbon
-
setNumCarbon
-
getLipidFaBondType
-
setLipidFaBondType
-