public class VamdcDataBaseConnection extends java.lang.Object implements DataBaseConnection
NOT_IN_DATABASE| Constructor and Description |
|---|
VamdcDataBaseConnection(java.lang.String url) |
| 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) |
static java.lang.String |
integerToRoman(int n) |
boolean |
testDatabaseConnection() |
public MoleculeDescriptionDB getMoleculeDescriptionDB(SimpleMoleculeDescriptionDB simpleMolDB)
getMoleculeDescriptionDB in interface DataBaseConnectionpublic java.util.List<SimpleMoleculeDescriptionDB> getAllMoleculeDescriptionDB()
getAllMoleculeDescriptionDB in interface DataBaseConnectionpublic static java.lang.String integerToRoman(int n)
public java.lang.String getMolName(int molTag)
getMolName in interface DataBaseConnectionpublic double buildQt(double tex,
int molTag)
buildQt in interface DataBaseConnectionpublic 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 boolean testDatabaseConnection()
testDatabaseConnection in interface DataBaseConnectionpublic java.lang.String getDataBaseOf(int molTag)
getDataBaseOf 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 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