Package org.biopax.paxtools.impl.level3
Class ChemicalConstantImpl
java.lang.Object
org.biopax.paxtools.impl.BioPAXElementImpl
org.biopax.paxtools.impl.level3.L3ElementImpl
org.biopax.paxtools.impl.level3.ChemicalConstantImpl
- All Implemented Interfaces:
Serializable,Cloneable,BioPAXElement,ChemicalConstant,Level3Element,UtilityClass
- Direct Known Subclasses:
DeltaGImpl,KPrimeImpl
- See Also:
-
Field Summary
Fields inherited from interface org.biopax.paxtools.model.BioPAXElement
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintIf two elements are equivalent, then their equivalence code should be the same.floatThe ionic strength is defined as half of the total sum of the concentration (ci) of every ionic species (i) in the solution times the square of its charge (zi).Class<? extends ChemicalConstant>This method returns the actual model interface that a class implements.floatgetPh()A measure of acidity and alkalinity of a solution that is a number on a scale on which a value of 7 represents neutrality and lower numbers indicate increasing acidity and higher numbers increasing alkalinity and on which each unit of change represents a tenfold change in acidity or alkalinity and that is the negative logarithm of the effective hydrogen-ion concentration or hydrogen-ion activity in gram equivalents per liter of the solution.floatgetPMg()floatprotected booleansemanticallyEquivalent(BioPAXElement element) voidsetIonicStrength(float ionicStrength) The ionic strength is defined as half of the total sum of the concentration (ci) of every ionic species (i) in the solution times the square of its charge (zi).voidsetPh(float ph) A measure of acidity and alkalinity of a solution that is a number on a scale on which a value of 7 represents neutrality and lower numbers indicate increasing acidity and higher numbers increasing alkalinity and on which each unit of change represents a tenfold change in acidity or alkalinity and that is the negative logarithm of the effective hydrogen-ion concentration or hydrogen-ion activity in gram equivalents per liter of the solution.voidsetPMg(float pMg) voidsetTemperature(float temperature) Methods inherited from class org.biopax.paxtools.impl.level3.L3ElementImpl
addComment, getComment, removeComment, setCommentMethods inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
equals, getAnnotations, getUri, hashCode, isEquivalent, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.biopax.paxtools.model.BioPAXElement
getAnnotations, getUri, isEquivalentMethods inherited from interface org.biopax.paxtools.model.level3.Level3Element
addComment, getComment, removeComment
-
Constructor Details
-
ChemicalConstantImpl
public ChemicalConstantImpl()
-
-
Method Details
-
getIonicStrength
public float getIonicStrength()Description copied from interface:ChemicalConstantThe ionic strength is defined as half of the total sum of the concentration (ci) of every ionic species (i) in the solution times the square of its charge (zi). For example, the ionic strength of a 0.1 M solution of CaCl2 is 0.5 x (0.1 x 22 + 0.2 x 12) = 0.3 M- Specified by:
getIonicStrengthin interfaceChemicalConstant- Returns:
- The ionic strength
-
setIonicStrength
public void setIonicStrength(float ionicStrength) Description copied from interface:ChemicalConstantThe ionic strength is defined as half of the total sum of the concentration (ci) of every ionic species (i) in the solution times the square of its charge (zi). For example, the ionic strength of a 0.1 M solution of CaCl2 is 0.5 x (0.1 x 22 + 0.2 x 12) = 0.3 M- Specified by:
setIonicStrengthin interfaceChemicalConstant- Parameters:
ionicStrength- The ionic strength
-
getPh
public float getPh()Description copied from interface:ChemicalConstantA measure of acidity and alkalinity of a solution that is a number on a scale on which a value of 7 represents neutrality and lower numbers indicate increasing acidity and higher numbers increasing alkalinity and on which each unit of change represents a tenfold change in acidity or alkalinity and that is the negative logarithm of the effective hydrogen-ion concentration or hydrogen-ion activity in gram equivalents per liter of the solution.- Specified by:
getPhin interfaceChemicalConstant- Returns:
- A measure of acidity and alkalinity of a solution
-
setPh
public void setPh(float ph) Description copied from interface:ChemicalConstantA measure of acidity and alkalinity of a solution that is a number on a scale on which a value of 7 represents neutrality and lower numbers indicate increasing acidity and higher numbers increasing alkalinity and on which each unit of change represents a tenfold change in acidity or alkalinity and that is the negative logarithm of the effective hydrogen-ion concentration or hydrogen-ion activity in gram equivalents per liter of the solution.- Specified by:
setPhin interfaceChemicalConstant- Parameters:
ph- A measure of acidity and alkalinity of a solution
-
getPMg
public float getPMg()- Specified by:
getPMgin interfaceChemicalConstant- Returns:
- A measure of the concentration of magnesium (Mg) in solution. (pMg = -log10[Mg2+])
-
setPMg
public void setPMg(float pMg) - Specified by:
setPMgin interfaceChemicalConstant- Parameters:
pMg- A measure of the concentration of magnesium (Mg) in solution. (pMg = -log10[Mg2+])
-
getTemperature
public float getTemperature()- Specified by:
getTemperaturein interfaceChemicalConstant- Returns:
- Temperature in Celsius
-
setTemperature
public void setTemperature(float temperature) - Specified by:
setTemperaturein interfaceChemicalConstant- Parameters:
temperature- Temperature in Celsius
-
getModelInterface
Description copied from interface:BioPAXElementThis method returns the actual model interface that a class implements.- Specified by:
getModelInterfacein interfaceBioPAXElement- Returns:
- an interface from
org.biopax.paxtools.modelpackage corresponding to a BioPAX class.
-
semanticallyEquivalent
- Overrides:
semanticallyEquivalentin classBioPAXElementImpl
-
equivalenceCode
public int equivalenceCode()Description copied from interface:BioPAXElementIf two elements are equivalent, then their equivalence code should be the same.- Specified by:
equivalenceCodein interfaceBioPAXElement- Overrides:
equivalenceCodein classBioPAXElementImpl- Returns:
- an integer that is same across all equivalent entities.
-