org.apache.openejb.jee
Class ContainerTransaction

java.lang.Object
  extended by org.apache.openejb.jee.ContainerTransaction
All Implemented Interfaces:
AttributeBinding<TransAttribute>

public class ContainerTransaction
extends Object
implements AttributeBinding<TransAttribute>

ejb-jar_3_1.xsd

Java class for container-transactionType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="container-transactionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="method" type="{http://java.sun.com/xml/ns/javaee}methodType" maxOccurs="unbounded"/>
         <element name="trans-attribute" type="{http://java.sun.com/xml/ns/javaee}trans-attributeType"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  TextMap description
           
protected  String id
           
protected  List<Method> method
           
protected  TransAttribute transAttribute
           
 
Constructor Summary
ContainerTransaction()
           
ContainerTransaction(TransAttribute transAttribute, Method method)
           
ContainerTransaction(TransAttribute transAttribute, String ejbName, Method method)
           
ContainerTransaction(TransAttribute transAttribute, String className, String ejbName, String methodName)
           
 
Method Summary
 TransAttribute getAttribute()
           
 String getDescription()
           
 Text[] getDescriptions()
           
 String getId()
           
 List<Method> getMethod()
           
 TransAttribute getTransAttribute()
           
 void setDescriptions(Text[] text)
           
 void setId(String value)
           
 void setTransAttribute(TransAttribute value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

protected List<Method> method

transAttribute

protected TransAttribute transAttribute

id

protected String id

description

protected TextMap description
Constructor Detail

ContainerTransaction

public ContainerTransaction()

ContainerTransaction

public ContainerTransaction(TransAttribute transAttribute,
                            String className,
                            String ejbName,
                            String methodName)

ContainerTransaction

public ContainerTransaction(TransAttribute transAttribute,
                            String ejbName,
                            Method method)

ContainerTransaction

public ContainerTransaction(TransAttribute transAttribute,
                            Method method)
Method Detail

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public String getDescription()

getMethod

public List<Method> getMethod()
Specified by:
getMethod in interface AttributeBinding<TransAttribute>

getAttribute

public TransAttribute getAttribute()
Specified by:
getAttribute in interface AttributeBinding<TransAttribute>

getTransAttribute

public TransAttribute getTransAttribute()

setTransAttribute

public void setTransAttribute(TransAttribute value)

getId

public String getId()

setId

public void setId(String value)


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.