|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.paneris.jal.model.DataCache
public class DataCache
This class is a Singleton that provides access to datadictionary objects. if a datadictionary has not yet been cached, it is created in the conventional manner. A client gets access to the single instance through the static getInstance() method and can then grap datadictionary objects
Method Summary | |
---|---|
DDRecord |
getDDRecord(java.lang.String db,
java.lang.String tn,
java.lang.Integer fn)
returns a reference to a cached DDRecord (assuming it is cached). |
FieldMetaData |
getFieldMetaData(java.lang.String db,
java.lang.Integer fieldNumber)
returns a reference to fieldmetadata for a given field (given as an integer) |
static DataCache |
getInstance()
Returns the single instance, creating one if it's the first time this method is called. |
TableMetaData |
getTableMetaData(java.lang.String db,
java.lang.Integer tableNumber)
returns a reference to tablemetadata for a given table (given as an Integer) |
TableMetaData |
getTableMetaData(java.lang.String db,
java.lang.String tableName)
returns a reference to tablemetadata for a given table (given as a string) |
DDRecord |
putDDRecords(java.lang.String db,
java.lang.String tn,
java.lang.Integer fn)
|
FieldMetaData |
putFieldMetaData(java.lang.String db,
java.lang.Integer fieldNumber)
adds a fieldmetadata for a given field (given as a integer) |
TableMetaData |
putTableMetaData(java.lang.String db,
java.lang.Integer tableNumber)
adds a tablemetadata for a given table (given as a Integer) |
TableMetaData |
putTableMetaData(java.lang.String db,
java.lang.String tableName)
adds a tablemetadata for a given table (given as a string) |
void |
removeDDRecords(java.lang.String db,
java.lang.String tn,
java.lang.Integer fn)
removes a tablemetadata for a given table (given as a string) |
void |
removeFieldMetaData(java.lang.String db,
java.lang.Integer fieldNumber)
removes a tablemetadata for a given table (given as a string) |
void |
removeTableMetaData(java.lang.String db,
java.lang.Integer tableNumber)
removes a tablemetadata for a given table (given as a string) |
void |
removeTableMetaData(java.lang.String db,
java.lang.String tableName)
removes a tablemetadata for a given table (given as a string) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DataCache getInstance()
public TableMetaData getTableMetaData(java.lang.String db, java.lang.String tableName) throws java.lang.Exception
java.lang.Exception
public TableMetaData putTableMetaData(java.lang.String db, java.lang.String tableName) throws java.lang.Exception
java.lang.Exception
public void removeTableMetaData(java.lang.String db, java.lang.String tableName) throws java.lang.Exception
java.lang.Exception
public TableMetaData getTableMetaData(java.lang.String db, java.lang.Integer tableNumber) throws java.lang.Exception
java.lang.Exception
public TableMetaData putTableMetaData(java.lang.String db, java.lang.Integer tableNumber) throws java.lang.Exception
java.lang.Exception
public void removeTableMetaData(java.lang.String db, java.lang.Integer tableNumber) throws java.lang.Exception
java.lang.Exception
public FieldMetaData getFieldMetaData(java.lang.String db, java.lang.Integer fieldNumber) throws java.lang.Exception
java.lang.Exception
public FieldMetaData putFieldMetaData(java.lang.String db, java.lang.Integer fieldNumber) throws java.lang.Exception
java.lang.Exception
public void removeFieldMetaData(java.lang.String db, java.lang.Integer fieldNumber) throws java.lang.Exception
java.lang.Exception
public DDRecord getDDRecord(java.lang.String db, java.lang.String tn, java.lang.Integer fn) throws java.lang.Exception
java.lang.Exception
public DDRecord putDDRecords(java.lang.String db, java.lang.String tn, java.lang.Integer fn) throws java.lang.Exception
java.lang.Exception
public void removeDDRecords(java.lang.String db, java.lang.String tn, java.lang.Integer fn) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |