FileDocCategorySizeDatePackage
TransactionSupportMetaData.javaAPI DocJBoss 4.2.12746Fri Jul 13 21:01:18 BST 2007org.jboss.resource.metadata

TransactionSupportMetaData

public class TransactionSupportMetaData extends Object implements Serializable
Transaction Support meta data
author
Adrian Brock
version
$Revision: 57189 $

Fields Summary
static final long
serialVersionUID
public static final int
NoTransaction
No transaction
public static final int
LocalTransaction
Local transaction
public static final int
XATransaction
XA transaction
private int
transactionSupport
The transaction support
Constructors Summary
Methods Summary
public intgetTransactionSupport()
Get the transaction support

return
the transaction support


                
     
   
      return transactionSupport;
   
public voidsetTransactionSupport(int transactionSupport)
Set the transaction support

param
transactionSupport the transaction support

      this.transactionSupport = transactionSupport;
   
public java.lang.StringtoString()

      StringBuffer buffer = new StringBuffer();
      buffer.append("TransactionSupportMetaData").append('@");
      buffer.append(Integer.toHexString(System.identityHashCode(this)));
      if (transactionSupport == NoTransaction)
         buffer.append("[transactionSupport=NoTransaction]");
      else if (transactionSupport == LocalTransaction)
         buffer.append("[transactionSupport=LocalTransaction]");
      else if (transactionSupport == XATransaction)
         buffer.append("[transactionSupport=XATransaction]");
      else 
         buffer.append("[transactionSupport=Unknown/Error]");
      return buffer.toString();