Package org.apache.openejb.jee
Class ContainerTransaction
- java.lang.Object
-
- org.apache.openejb.jee.ContainerTransaction
-
- All Implemented Interfaces:
AttributeBinding<TransAttribute>
public class ContainerTransaction extends Object implements AttributeBinding<TransAttribute>
ejb-jar_3_1.xsdJava 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
Fields Modifier and Type Field Description protected TextMapdescriptionprotected Stringidprotected List<Method>methodprotected TransAttributetransAttribute
-
Constructor Summary
Constructors Constructor Description ContainerTransaction()ContainerTransaction(TransAttribute transAttribute, String ejbName, Method method)ContainerTransaction(TransAttribute transAttribute, String className, String ejbName, String methodName)ContainerTransaction(TransAttribute transAttribute, Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransAttributegetAttribute()StringgetDescription()Text[]getDescriptions()StringgetId()List<Method>getMethod()TransAttributegetTransAttribute()voidsetDescriptions(Text[] text)voidsetId(String value)voidsetTransAttribute(TransAttribute value)
-
-
-
Field Detail
-
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:
getMethodin interfaceAttributeBinding<TransAttribute>
-
getAttribute
public TransAttribute getAttribute()
- Specified by:
getAttributein interfaceAttributeBinding<TransAttribute>
-
getTransAttribute
public TransAttribute getTransAttribute()
-
setTransAttribute
public void setTransAttribute(TransAttribute value)
-
getId
public String getId()
-
setId
public void setId(String value)
-
-