|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.rdb.DatabaseStatus
DatabaseStatus maintains the status of the application Database
and database Table objects, including the current load status.
Database
class, code the following:
if (DatabaseStatus.isLoaded(database))
{
// do something
}
where database is an instance of Database.
Database,
Table| Field Summary |
| Fields inherited from class com.jdc.lang.Object |
string |
| Method Summary | |
static void |
deregister(Database database)
Removes the specified Database from the list of registered
databases with this class. |
static void |
deregister(Table table)
Removes the specified Table from the list of registered
database tables with this class. |
static boolean |
isLoaded(Database database)
Returns true if the Database is loaded. |
static boolean |
isLoaded(Table table)
Returns true if the database Table is loaded. |
static boolean |
isRefresh(Table table)
Returns true if a Table data refresh is required. |
static void |
register(Database database)
Registers the specified Database with this class. |
static void |
register(Table table)
Registers the specified Table with this class. |
static void |
setRefresh(Table table)
Sets the database Table refresh status to true. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void deregister(Database database)
Database from the list of registered
databases with this class.
public static void deregister(Table table)
Table from the list of registered
database tables with this class.
public static boolean isLoaded(Database database)
true if the Database is loaded.
True if the Database is loaded. False if the Database is not loaded.public static boolean isLoaded(Table table)
true if the database Table is loaded.
True if the database Table is loaded. False if the database Table is not loaded.public static boolean isRefresh(Table table)
true if a Table data refresh is required.
True if a Table data refresh is required. False if aTable data refresh is not required.public static void register(Database database)
Database with this class. This
registration is used to create and access the Database status.
public static void register(Table table)
Table with this class. This
registration is used to create and access the Table status.
public static void setRefresh(Table table)
Table refresh status to true.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||