public class ContainerTransaction extends Object implements AttributeBinding<TransAttribute>
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>
| Modifier and Type | Field and Description |
|---|---|
protected TextMap |
description |
protected String |
id |
protected List<Method> |
method |
protected TransAttribute |
transAttribute |
| Constructor and Description |
|---|
ContainerTransaction() |
ContainerTransaction(TransAttribute transAttribute,
Method method) |
ContainerTransaction(TransAttribute transAttribute,
String ejbName,
Method method) |
ContainerTransaction(TransAttribute transAttribute,
String className,
String ejbName,
String methodName) |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected TransAttribute transAttribute
protected String id
protected TextMap description
public ContainerTransaction()
public ContainerTransaction(TransAttribute transAttribute, String className, String ejbName, String methodName)
public ContainerTransaction(TransAttribute transAttribute, String ejbName, Method method)
public ContainerTransaction(TransAttribute transAttribute, Method method)
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public List<Method> getMethod()
getMethod in interface AttributeBinding<TransAttribute>public TransAttribute getAttribute()
getAttribute in interface AttributeBinding<TransAttribute>public TransAttribute getTransAttribute()
public void setTransAttribute(TransAttribute value)
public String getId()
public void setId(String value)
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.