001package org.biopax.paxtools.model.level3; 002 003/** 004 * 005 */ 006public interface ChemicalConstant extends UtilityClass 007{ 008 /** 009 * A measure of acidity and alkalinity of a solution that is a number on a scale on which a value of 7 010 * represents neutrality and lower numbers indicate increasing acidity and higher numbers increasing alkalinity 011 * and on which each unit of change represents a tenfold change in acidity or alkalinity and that is the 012 * negative logarithm of the effective hydrogen-ion concentration or hydrogen-ion activity in gram equivalents 013 * per liter of the solution. 014 * @return A measure of acidity and alkalinity of a solution 015 */ 016 float getPh(); 017 018 /** 019 * A measure of acidity and alkalinity of a solution that is a number on a scale on which a value of 7 020 * represents neutrality and lower numbers indicate increasing acidity and higher numbers increasing alkalinity 021 * and on which each unit of change represents a tenfold change in acidity or alkalinity and that is the 022 * negative logarithm of the effective hydrogen-ion concentration or hydrogen-ion activity in gram equivalents 023 * per liter of the solution. 024 * @param ph A measure of acidity and alkalinity of a solution 025 */ 026 void setPh(float ph); 027 028 /** 029 * @return A measure of the concentration of magnesium (Mg) in solution. (pMg = 030 * -log<sub>10</sub>[Mg<sup>2+</sup>]) 031 */ 032 float getPMg(); 033 034 /** 035 * @param pMg A measure of the concentration of magnesium (Mg) in solution. (pMg = 036 * -log<sub>10</sub>[Mg<sup>2+</sup>]) 037 */ 038 void setPMg(float pMg); 039 040 041 /** 042 * @return Temperature in Celsius 043 */ 044 float getTemperature(); 045 046 /** 047 * @param temperature Temperature in Celsius 048 */ 049 void setTemperature(float temperature); 050 051 /** 052 * The ionic strength is defined as half of the total sum of the concentration (ci) of every ionic species (i) 053 * in the solution times the square of its charge (zi). For example, the ionic strength of a 0.1 M solution of 054 * CaCl2 is 0.5 x (0.1 x 22 + 0.2 x 12) = 0.3 M 055 * @return The ionic strength 056 */ 057 float getIonicStrength(); 058 059 /** 060 * The ionic strength is defined as half of the total sum of the concentration (ci) of every ionic species (i) 061 * in the solution times the square of its charge (zi). For example, the ionic strength of a 0.1 M solution of 062 * CaCl2 is 0.5 x (0.1 x 22 + 0.2 x 12) = 0.3 M 063 * @param ionicStrength The ionic strength 064 */ 065 void setIonicStrength(float ionicStrength); 066 067}