|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A Remote API which contains methods related to Database tables. Mostly they are RelationalUtil methods.
Remote| Method Summary | |
boolean |
doesThisColumnExist(java.lang.String tableName,
java.lang.String column)
Returns true if the specified column is exists in the specified table. |
java.lang.String |
getAlias(java.lang.String columnName)
This method gets the alias for the given column name. |
java.lang.String |
getAntiAlias(java.lang.String alias)
This method gets the column name for the given alias. |
java.util.Vector |
getClassnamesBelongingToModule(java.lang.String module)
Returns class names belonging to the specified module. |
java.util.Vector |
getColumnNamesOfTable(java.lang.String tableName)
Gets the column names for the given table. |
java.lang.String |
getDatabaseName()
Returns the name of the Database product in use. |
java.util.Vector |
getNumericColumnsOfTable(java.lang.String tableName)
Gets the Numeric columns of the given Table and returns a Vector containing the same. |
java.util.Vector |
getPrimaryKeysOfTable(java.lang.String tableName)
Gets the primary keys of the given table and returns a vector containing the same. |
java.util.Hashtable |
getTableHierarchy(java.lang.String module)
Returns a Hashtable containing table name vs table hierarchy, where table hierarchy is the String array representing hierarchy of tables starting from the base table of the module. |
java.lang.String[] |
getTableHierarchy(java.lang.String module,
java.lang.String tableName)
Returns a String array of table names representing the hierarchy of the given table. |
java.lang.String |
getTableNameForClass(java.lang.String className)
Gets the Table name associated with the given class. |
java.util.Vector |
getTablesBelongingToModule(java.lang.String module)
Gets the list of database table names which are defined for this module. |
boolean |
isNumericField(java.lang.String tableName,
java.lang.String column)
Returns true if this object is numeric field. |
| Method Detail |
public java.lang.String getDatabaseName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if an error occurs
public java.util.Vector getTablesBelongingToModule(java.lang.String module)
throws java.rmi.RemoteException
module - the name of the module for which the table names list is requiredjava.rmi.RemoteException - if an error occurs
public java.util.Vector getClassnamesBelongingToModule(java.lang.String module)
throws java.rmi.RemoteException
module - name of the module for which the list of classes
should be returnedjava.rmi.RemoteException - if an error occurs
public java.lang.String getTableNameForClass(java.lang.String className)
throws java.rmi.RemoteException
className - the Class for which the table Name is requiredjava.rmi.RemoteException - if an error occurs
public java.lang.String getAlias(java.lang.String columnName)
throws java.rmi.RemoteException
columnName - the column name for which alias is required.java.rmi.RemoteException - if an error occurs
public java.lang.String getAntiAlias(java.lang.String alias)
throws java.rmi.RemoteException
alias - the alias for which the column name is required.java.rmi.RemoteException - if an error occurs
public java.util.Vector getColumnNamesOfTable(java.lang.String tableName)
throws java.rmi.RemoteException
tableName - Table for which the column names are requiredjava.rmi.RemoteException - if an error occurs
public java.util.Vector getNumericColumnsOfTable(java.lang.String tableName)
throws java.rmi.RemoteException
tableName - table for which the numeric column is requiredjava.rmi.RemoteException - if an error occurs
public java.util.Vector getPrimaryKeysOfTable(java.lang.String tableName)
throws java.rmi.RemoteException
tablename - table for which the primary keys are requiredjava.rmi.RemoteException - if an error occurs
public boolean isNumericField(java.lang.String tableName,
java.lang.String column)
throws java.rmi.RemoteException
tableName - a String table name valuecolumn - a String column name valueboolean value true, if this object is numeric field.java.rmi.RemoteException - if an error occurs
public boolean doesThisColumnExist(java.lang.String tableName,
java.lang.String column)
throws java.rmi.RemoteException
tableName - a String table name.column - a String columns name.boolean value true, if the specified column is exists.java.rmi.RemoteException - if an error occurs
public java.util.Hashtable getTableHierarchy(java.lang.String module)
throws java.rmi.RemoteException
module - the name of the module for which the hierarchy information is needed.Hashtable containing String array of
table names representing the hierarchy of each table in the
module.java.rmi.RemoteException - if an error occurs
public java.lang.String[] getTableHierarchy(java.lang.String module,
java.lang.String tableName)
throws java.rmi.RemoteException
module - the name of the module to which the table belongs to.tableName - the name of the table for which the hierarchy is required.java.rmi.RemoteException - if an error occurs
|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||