All Packages Class Hierarchy This Package Previous Next Index
Class org.paneris.util.TableMetaData
java.lang.Object
|
+----org.paneris.util.TableMetaData
- public class TableMetaData
- extends Object
A TableMetaData encapsulates meta data for a single table in the datadictionary.
It has a hashtable for datadictionary fields.
It can be constructed from the table name or from the table id number.
You need to pass a table identifier and a database to the constructors
-
TableMetaData(String, Integer)
- constructor to build a table given it's id in the datadictionarytables table
-
TableMetaData(String, String)
- Constructor to build a table using a table name
-
getCached()
- find out if the table is cached
-
getDisplayName()
- get the display name for the table
-
getFields()
- return a hash of field data for this table
-
getTableName()
- get the tablename
-
getTableNumber()
- get the tablenumber
-
getType()
- get the type of the table
TableMetaData
public TableMetaData(String db,
String tn) throws Exception
- Constructor to build a table using a table name
TableMetaData
public TableMetaData(String db,
Integer tn) throws Exception
- constructor to build a table given it's id in the datadictionarytables table
getFields
public ExtendedHash getFields()
- return a hash of field data for this table
getTableName
public String getTableName()
- get the tablename
getType
public String getType()
- get the type of the table
getTableNumber
public Integer getTableNumber()
- get the tablenumber
getDisplayName
public String getDisplayName()
- get the display name for the table
getCached
public boolean getCached()
- find out if the table is cached
All Packages Class Hierarchy This Package Previous Next Index