|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mckoi.database.TableAccessState
public final class TableAccessState
This class provides very limited access to a Table object. The purpose of this object is to define the functionality of a table when the root table(s) are locked via the 'Table.lockRoot(int)' method, and when the Table is no longer READ or WRITE locked via the 'LockingMechanism' system. During these conditions, the table is in a semi-volatile state, so this class provides a safe way to access the table without having to worry about using some functionality of Table which isn't supported at this time.
Method Summary | |
---|---|
TObject |
getCellContents(int column,
int row)
Returns the cell at the given row/column coordinates in the table. |
DataTableDef |
getDataTableDef()
Returns the DataTableDef object that contains information on the columns of the table. |
Variable |
getResolvedVariable(int column)
Returns the TableName of the given column of this table. |
void |
lockRoot(int key)
Locks the root rows of the table. |
void |
unlockRoot(int key)
Unlocks the root rows of the table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public TObject getCellContents(int column, int row)
public DataTableDef getDataTableDef()
public Variable getResolvedVariable(int column)
public void lockRoot(int key)
public void unlockRoot(int key)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |