public class RegisterMethods
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RegisterMethods.MethodType
Represents a particular type of method (e.g., approximative method,
double dangling end method, Mg/Na mix correction method).
|
Constructor and Description |
---|
RegisterMethods()
creates a RegisterMethods object with the different initialised HasMaps.
|
Modifier and Type | Method and Description |
---|---|
ThermoResult |
computeOtherMeltingCorrections(Environment environment)
corrects the melting temperature if other agents are present in the solution (formamide, DMSO, ...)
|
CorrectionMethod |
getCorrectionMethod(java.lang.String optionName,
java.lang.String methodName)
This method is called to get the CorrectionMethod which represents the method 'methodName'
entered with the option 'optionName'.
|
CorrectionMethod |
getIonCorrectionMethod(Environment environment)
This method is called to get the CorrectionMethod which represents the method or model
used for the ion correction in the environment 'environment'.
|
MeltingComputationMethod |
getMeltingComputationMethod(java.util.HashMap<java.lang.String,java.lang.String> optionSet)
This method is called to get the MeltingComputationMethod which represents the method or model
for the enthalpy, entropy and melting temperature computation in the HashMap 'optionSet'.
|
RegisterMethods.MethodType |
getMethodType()
Gets an instance of the
MethodType enum from the current
instance of RegisterMethods . |
SodiumEquivalentMethod |
getNaEqMethod(java.util.HashMap<java.lang.String,java.lang.String> optionSet)
This method is called to get the SodiumEquivalentMethod which represents the method or model
for the sodium equivalence in the HashMap 'optionSet'.
|
PatternComputationMethod |
getPatternComputationMethod(java.lang.String optionName,
java.lang.String methodName)
This method is called to get the PatternComputationMethod which represents the method 'methodName'
entered with the option 'optionName'.
|
static RegisterMethods.MethodType |
makeMethodList()
Creates an instance of the
MethodType enum, initialized with
all the (non-final) methods from the RegisterMethods class. |
public RegisterMethods()
public PatternComputationMethod getPatternComputationMethod(java.lang.String optionName, java.lang.String methodName)
optionName
- : option namemethodName
- : method or model namepublic SodiumEquivalentMethod getNaEqMethod(java.util.HashMap<java.lang.String,java.lang.String> optionSet)
optionSet
- : contains the options (default options and options entered by the user)public CorrectionMethod getIonCorrectionMethod(Environment environment)
environment
- public MeltingComputationMethod getMeltingComputationMethod(java.util.HashMap<java.lang.String,java.lang.String> optionSet)
optionSet
- : contains the options (default options and options entered by the user)public CorrectionMethod getCorrectionMethod(java.lang.String optionName, java.lang.String methodName)
optionName
- : option namemethodName
- : method or model namepublic ThermoResult computeOtherMeltingCorrections(Environment environment)
environment
- public RegisterMethods.MethodType getMethodType()
MethodType
enum from the current
instance of RegisterMethods
.MethodType
enum, with non-final
values filled in.public static RegisterMethods.MethodType makeMethodList()
MethodType
enum, initialized with
all the (non-final) methods from the RegisterMethods
class.MethodType
enum, with non-final
values filled in.