org.ow2.jonas.deployment.ejb.xml
Class ContainerTransaction

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.ejb.xml.ContainerTransaction
All Implemented Interfaces:
Serializable, Element

public class ContainerTransaction
extends AbsElement

This class defines the implementation of the element container-transaction

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
ContainerTransaction()
          Constructor
 
Method Summary
 void addMethod(Method method)
          Add a new method element to this object
 String getDescription()
          Gets the description
 JLinkedList getMethodList()
          Gets the method
 String getTransAttribute()
          Gets the trans-attribute
 void setDescription(String description)
          Set the description
 void setMethodList(JLinkedList methodList)
          Set the method
 void setTransAttribute(String transAttribute)
          Set the trans-attribute
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContainerTransaction

public ContainerTransaction()
Constructor

Method Detail

getDescription

public String getDescription()
Gets the description

Returns:
the description

setDescription

public void setDescription(String description)
Set the description

Parameters:
description - description

getMethodList

public JLinkedList getMethodList()
Gets the method

Returns:
the method

setMethodList

public void setMethodList(JLinkedList methodList)
Set the method

Parameters:
methodList - method

addMethod

public void addMethod(Method method)
Add a new method element to this object

Parameters:
method - the methodobject

getTransAttribute

public String getTransAttribute()
Gets the trans-attribute

Returns:
the trans-attribute

setTransAttribute

public void setTransAttribute(String transAttribute)
Set the trans-attribute

Parameters:
transAttribute - transAttribute

toXML

public String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.


Copyright © 2010 OW2 Consortium. All Rights Reserved.