public class SlapFileDataBaseConnection extends java.lang.Object implements DataBaseConnection
NOT_IN_DATABASE| Constructor and Description |
|---|
SlapFileDataBaseConnection(java.lang.String filePath) |
| Modifier and Type | Method and Description |
|---|---|
double |
buildQt(double tex,
int molTag) |
java.lang.String |
changeDatabaseConnection(javax.swing.JFrame frame) |
java.util.List<SimpleMoleculeDescriptionDB> |
getAllMoleculeDescriptionDB() |
java.lang.String |
getDataBaseOf(int molTag) |
java.lang.String |
getId() |
java.util.List<LineDescriptionDB> |
getLineDescriptionDB(java.util.List<SimpleMoleculeDescriptionDB> listSimpleMolDB,
double frequencyMin,
double frequencyMax,
double otherThresEupMin,
double otherThresEupMax,
double otherThresAijMin,
double otherTreshAijMax) |
java.util.List<LineDescriptionDB> |
getLineDescriptionDB(MoleculeDescriptionDB molecule,
double freqMinComp,
double freqMaxComp) |
java.util.List<LineDescriptionDB> |
getLineDescriptionDB(SimpleMoleculeDescriptionDB simpleMolDB,
double frequencyMin,
double frequencyMax,
double otherThresEupMin,
double otherThresEupMax,
double otherThresAijMin,
double otherTreshAijMax) |
MoleculeDescriptionDB |
getMoleculeDescriptionDB(SimpleMoleculeDescriptionDB simpleMolDB) |
java.lang.String |
getMolName(int molTag) |
SimpleMoleculeDescriptionDB |
getSimpleMolecule(int id) |
boolean |
testDatabaseConnection() |
public SlapFileDataBaseConnection(java.lang.String filePath)
public MoleculeDescriptionDB getMoleculeDescriptionDB(SimpleMoleculeDescriptionDB simpleMolDB) throws UnknowMoleculeException
getMoleculeDescriptionDB in interface DataBaseConnectionUnknowMoleculeExceptionpublic java.util.List<SimpleMoleculeDescriptionDB> getAllMoleculeDescriptionDB()
getAllMoleculeDescriptionDB in interface DataBaseConnectionpublic java.lang.String getMolName(int molTag)
getMolName in interface DataBaseConnectionpublic java.lang.String getDataBaseOf(int molTag)
getDataBaseOf in interface DataBaseConnectionpublic double buildQt(double tex,
int molTag)
throws UnknowMoleculeException
buildQt in interface DataBaseConnectionUnknowMoleculeExceptionpublic java.util.List<LineDescriptionDB> getLineDescriptionDB(MoleculeDescriptionDB molecule, double freqMinComp, double freqMaxComp)
getLineDescriptionDB in interface DataBaseConnectionpublic java.util.List<LineDescriptionDB> getLineDescriptionDB(SimpleMoleculeDescriptionDB simpleMolDB, double frequencyMin, double frequencyMax, double otherThresEupMin, double otherThresEupMax, double otherThresAijMin, double otherTreshAijMax)
getLineDescriptionDB in interface DataBaseConnectionpublic java.util.List<LineDescriptionDB> getLineDescriptionDB(java.util.List<SimpleMoleculeDescriptionDB> listSimpleMolDB, double frequencyMin, double frequencyMax, double otherThresEupMin, double otherThresEupMax, double otherThresAijMin, double otherTreshAijMax)
getLineDescriptionDB in interface DataBaseConnectionpublic boolean testDatabaseConnection()
testDatabaseConnection in interface DataBaseConnectionpublic java.lang.String getId()
getId in interface DataBaseConnectionpublic java.lang.String changeDatabaseConnection(javax.swing.JFrame frame)
changeDatabaseConnection in interface DataBaseConnectionpublic SimpleMoleculeDescriptionDB getSimpleMolecule(int id)
getSimpleMolecule in interface DataBaseConnection