01: package com.bm.ejb3metadata.annotations.metadata.interfaces;
02:
03: import javax.ejb.TransactionAttributeType;
04:
05: /**
06: * This interface represents methods which can be call on ClassAnnotationMetadata and MethodAnnotationMetadata.
07: * @author Daniel Wiese
08: */
09: public interface ITransactionAttribute {
10:
11: /**
12: * @return transaction Attribute type
13: * @see javax.ejb.TransactionAttributeType
14: */
15: TransactionAttributeType getTransactionAttributeType();
16:
17: /**
18: * Set Transaction Attribute Type.
19: * @see javax.ejb.TransactionAttributeType
20: * @param transactionAttributeType the type of the attribute.
21: */
22: void setTransactionAttributeType(
23: TransactionAttributeType transactionAttributeType);
24:
25: }
|