org.ow2.util.ee.metadata.ejbjar.api.xml.struct
Interface IContainerTransaction

All Superinterfaces:
Serializable

public interface IContainerTransaction
extends Serializable

Interface for element container-transaction.

Author:
Florent Benoit

Field Summary
static String NAME
          Name of this element.
 
Method Summary
 void addMethod(IMethodDD method)
          Add a new Method.
 List<IMethodDD> getMethods()
           
 javax.ejb.TransactionAttributeType getTransactionAttribute()
          Gets the transaction attribute for this block.
 void setTransactionAttribute(javax.ejb.TransactionAttributeType txAttribute)
          Sets the transaction attribute for this block.
 String toString()
           
 

Field Detail

NAME

static final String NAME
Name of this element.

See Also:
Constant Field Values
Method Detail

addMethod

void addMethod(IMethodDD method)
Add a new Method.

Parameters:
method - the given method.

getMethods

List<IMethodDD> getMethods()
Returns:
list of methods.

setTransactionAttribute

void setTransactionAttribute(javax.ejb.TransactionAttributeType txAttribute)
Sets the transaction attribute for this block.

Parameters:
txAttribute - the given transaction attribute

getTransactionAttribute

javax.ejb.TransactionAttributeType getTransactionAttribute()
Gets the transaction attribute for this block.

Returns:
the transaction attribute

toString

String toString()
Overrides:
toString in class Object
Returns:
string representation of this module.


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.