|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Instances of this interface represent Transaction Parameter Buffer from the Firebird API.
Field Summary | |
static int |
AUTOCOMMIT
|
static int |
COMMIT_TIME
|
static int |
CONCURRENCY
|
static int |
CONSISTENCY
|
static int |
EXCLUSIVE
|
static int |
IGNORE_LIMBO
|
static int |
LOCK_READ
|
static int |
LOCK_WRITE
|
static int |
NO_AUTO_UNDO
|
static int |
NO_REC_VERSION
|
static int |
NOWAIT
|
static int |
PROTECTED
|
static int |
READ
|
static int |
READ_COMMITTED
|
static int |
REC_VERSION
|
static int |
RESTART_REQUESTS
|
static int |
SHARED
|
static int |
VERB_TIME
|
static int |
WAIT
|
static int |
WRITE
|
Method Summary | |
void |
addArgument(int argumentType)
Add argument. |
void |
addArgument(int argumentType,
byte[] content)
Add array of bytes. |
void |
addArgument(int argumentType,
int value)
Add integer argument. |
void |
addArgument(int argumentType,
java.lang.String value)
Add string argument. |
TransactionParameterBuffer |
deepCopy()
Make a deep copy of this object. |
int |
getArgumentAsInt(int argumentType)
Get argument as int. |
java.lang.String |
getArgumentAsString(int argumentType)
Get argument as string. |
boolean |
hasArgument(int argumentType)
Check if this parameter buffer has specified argument. |
void |
removeArgument(int argumentType)
Remove specified argument. |
Field Detail |
public static final int AUTOCOMMIT
public static final int READ_COMMITTED
public static final int REC_VERSION
public static final int NO_REC_VERSION
public static final int CONCURRENCY
public static final int CONSISTENCY
public static final int SHARED
public static final int PROTECTED
public static final int EXCLUSIVE
public static final int WAIT
public static final int NOWAIT
public static final int READ
public static final int WRITE
public static final int LOCK_READ
public static final int LOCK_WRITE
public static final int VERB_TIME
public static final int COMMIT_TIME
public static final int IGNORE_LIMBO
public static final int RESTART_REQUESTS
public static final int NO_AUTO_UNDO
Method Detail |
public void addArgument(int argumentType)
argumentType
- type of argument.public void addArgument(int argumentType, java.lang.String value)
argumentType
- type of argument.value
- string value to add.public void addArgument(int argumentType, int value)
argumentType
- type of argument.value
- integer value to add.public void addArgument(int argumentType, byte[] content)
argumentType
- type of argument.content
- content of argument.public void removeArgument(int argumentType)
argumentType
- type of argument to remove.public java.lang.String getArgumentAsString(int argumentType)
argumentType
- type of argument to find.
null
if nothing found.public int getArgumentAsInt(int argumentType)
argumentType
- type of argument to find.
0
if nothing found.public boolean hasArgument(int argumentType)
argumentType
- type of argument to find.
true
if this buffer contains specified argument.public TransactionParameterBuffer deepCopy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |