Package org.firebirdsql.jca
Class FBTpb
- java.lang.Object
- 
- org.firebirdsql.jca.FBTpb
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class FBTpb extends java.lang.Object implements java.io.SerializableTheFBTpbclass represents the Firebird Transaction Parameter Block (TPB), which contains Firebird-specific information about transaction isolation. Created: Wed Jun 19 10:12:22 2002- Author:
- David Jencks
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description FBTpb(TransactionParameterBuffer transactionParams)Create a new Transaction Parameters Block instance based around aFBTpbMapper.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)TransactionParameterBuffergetTransactionParameterBuffer()inthashCode()booleanisReadOnly()Determine whether this TPB is set to read-only.voidsetReadOnly(boolean readOnly)Set the read-only flag on this TPB.voidsetTransactionParameterBuffer(TransactionParameterBuffer tpb)
 
- 
- 
- 
Constructor Detail- 
FBTpbpublic FBTpb(TransactionParameterBuffer transactionParams) Create a new Transaction Parameters Block instance based around aFBTpbMapper.- Parameters:
- transactionParams- instance of- TransactionParameterBufferrepresenting transaction parameters.
 
 
- 
 - 
Method Detail- 
equalspublic boolean equals(java.lang.Object other) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
setReadOnlypublic void setReadOnly(boolean readOnly) Set the read-only flag on this TPB.- Parameters:
- readOnly- If- true, this TPB will be set to read-only, otherwise it will be be read-write
 
 - 
isReadOnlypublic boolean isReadOnly() Determine whether this TPB is set to read-only.- Returns:
- trueif this TPB is read-only, otherwise false
 
 - 
getTransactionParameterBufferpublic TransactionParameterBuffer getTransactionParameterBuffer() 
 - 
setTransactionParameterBufferpublic void setTransactionParameterBuffer(TransactionParameterBuffer tpb) 
 
- 
 
-