Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

joelib.data
Class JOEPhModel  view JOEPhModel download JOEPhModel.java

java.lang.Object
  extended byjoelib.data.JOEGlobalDataBase
      extended byjoelib.data.JOEPhModel

public class JOEPhModel
extends JOEGlobalDataBase

Model for the protonation/deprotonation of molecules. The definition file can be defined in the joelib.data.JOEPhModel.resourceFile property in the wsi.ra.tool.PropertyHolder. The wsi.ra.tool.ResourceLoader loads the joelib.properties file for default.

Default:
joelib.data.JOEPhModel.resourceFile=joelib/data/plain/phmodel.txt


Field Summary
private static java.lang.String DEFAULT_RESOURCE
           
private static org.apache.log4j.Category logger
          Obtain a suitable logger.
private  java.util.Vector matchList
          Match list.
private static JOEPhModel phmodel
           
private  java.util.Vector seedChargeGM
          Seed charges for the Gasteiger-Marsili partial charges.
private  java.util.Vector transformation
          SMARTS based transformation patterns.
 
Fields inherited from class joelib.data.JOEGlobalDataBase
initialized, resourceFile
 
Constructor Summary
private JOEPhModel()
          Constructor for the JOEPhModel object
 
Method Summary
 void assignSeedPartialCharge(joelib.molecule.JOEMol mol)
          Description of the Method
 void correctForPH(joelib.molecule.JOEMol mol)
          Corrects the molecule for PH.
 void finalize()
          Description of the Method
static JOEPhModel instance()
          Description of the Method
 void parseLine(java.lang.String buffer)
          Description of the Method
 
Methods inherited from class joelib.data.JOEGlobalDataBase
getLineCounter, init
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Category logger
Obtain a suitable logger.


phmodel

private static JOEPhModel phmodel

DEFAULT_RESOURCE

private static final java.lang.String DEFAULT_RESOURCE
See Also:
Constant Field Values

matchList

private java.util.Vector matchList
Match list. java.util.Vector of int[1]java.util.Vector


seedChargeGM

private java.util.Vector seedChargeGM
Seed charges for the Gasteiger-Marsili partial charges. java.util.Vector of SMARTSPatternFVec


transformation

private java.util.Vector transformation
SMARTS based transformation patterns. java.util.Vector of JOEChemTransformation

Constructor Detail

JOEPhModel

private JOEPhModel()
Constructor for the JOEPhModel object

Method Detail

finalize

public void finalize()
Description of the Method

Overrides:
finalize in class JOEGlobalDataBase

instance

public static JOEPhModel instance()
Description of the Method


assignSeedPartialCharge

public void assignSeedPartialCharge(joelib.molecule.JOEMol mol)
Description of the Method


correctForPH

public void correctForPH(joelib.molecule.JOEMol mol)
Corrects the molecule for PH. Changes the state of oxygen and nitrogen atoms, if it is allowed to change the formal charges of the atoms, that means if JOEMol.automaticFormalCharge() returns true


parseLine

public void parseLine(java.lang.String buffer)
Description of the Method

Specified by:
parseLine in class JOEGlobalDataBase