| java.lang.Object org.openharmonise.rm.dsi.DatabaseInfo
DatabaseInfo | public class DatabaseInfo (Code) | | This class provides utility operations for finding out information
regarding how objects within Harmonise are mapped to the database.
author: Michael Bell version: $Revision: 1.1 $ |
getInstance | public static DatabaseInfo getInstance()(Code) | | Returns the singleton instance of DatabaseInfo
the singleton instance of DatabaseInfo |
getTableName | public String getTableName(String sClassname) throws DataStoreException(Code) | | Returns the database table name associated to the specified class name
Parameters: sClassname - the class name the database table name associated to the specified class name throws: DataStoreException - if the specified class name can not be foundby the class loader or an error occurs trying to find the associatedtable name |
registerTableName | public void registerTableName(String sClassname, String sTableName)(Code) | | Register a database table name against the specified class name
Parameters: sClassname - the class name Parameters: sTableName - the database table name |
|
|