public class TGlobalTransactionSpecifier
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TGlobalTransactionSpecifier.TCompletion
Constant class for the completion mode of a global transaction.
|
Constructor and Description |
---|
TGlobalTransactionSpecifier(java.lang.String globalTransactionId)
Initializes the transaction id with a special transaction id.
|
TGlobalTransactionSpecifier(java.lang.String globalTransactionId,
TGlobalTransactionSpecifier.TCompletion completion)
Initializes the transaction id with a special transaction id.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Writes the transaction specifier into a String.
|
void |
writeTo(TCommandStatement commandStatement)
Writes the command paremeter and the command parameter value for this
transaction id to the given TCommandStatement.
|
public TGlobalTransactionSpecifier(java.lang.String globalTransactionId) throws java.io.UnsupportedEncodingException
globalTransactionId
- the special transaction id.java.io.UnsupportedEncodingException
public TGlobalTransactionSpecifier(java.lang.String globalTransactionId, TGlobalTransactionSpecifier.TCompletion completion)
globalTransactionId
- the special transaction id.completion
- the completion value.public void writeTo(TCommandStatement commandStatement)
commandStatement
- gets the current transaction id.public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2017 Software AG. All Rights Reserved.