public class DBLock
extends java.lang.Object
| Constructor and Description |
|---|
DBLock()
Instantiates a database lock of zero statements.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLockStatement(DBLockStatement stmt)
Adds a statement to this lock.
|
java.util.List |
getLockStatements()
Retruns the SQL statements that comprise this lock.
|
boolean |
shouldSubstitute()
Method indicating to the caller whether this lock's statements
should replace the ones that generated them.
|
public void addLockStatement(DBLockStatement stmt)
stmt - may be nullpublic java.util.List getLockStatements()
DBLockStatement
objects; will not return nullpublic boolean shouldSubstitute()
This method is currently not invoked in any rt. Its use is reserved for future use.
true if this lock's statements should
be executed instead of the statements used to generate
them; false otherwise