org.openejb.alt.config.ejb11
Class ContainerTransaction

java.lang.Object
  extended by org.openejb.alt.config.ejb11.ContainerTransaction
All Implemented Interfaces:
Serializable

public class ContainerTransaction
extends Object
implements Serializable

Class ContainerTransaction.

Version:
$Revision: 1104 $ $Date: 2004-03-30 16:44:02 -0800 (Tue, 30 Mar 2004) $
See Also:
Serialized Form

Constructor Summary
ContainerTransaction()
           
 
Method Summary
 void addMethod(int index, Method vMethod)
          Method addMethod
 void addMethod(Method vMethod)
          Method addMethod
 Enumeration enumerateMethod()
          Method enumerateMethod
 String getDescription()
          Returns the value of field 'description'.
 String getId()
          Returns the value of field 'id'.
 Method[] getMethod()
          Method getMethod
 Method getMethod(int index)
          Method getMethod
 int getMethodCount()
          Method getMethodCount
 String getTransAttribute()
          Returns the value of field 'transAttribute'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void removeAllMethod()
          Method removeAllMethod
 Method removeMethod(int index)
          Method removeMethod
 void setDescription(String description)
          Sets the value of field 'description'.
 void setId(String id)
          Sets the value of field 'id'.
 void setMethod(int index, Method vMethod)
          Method setMethod
 void setMethod(Method[] methodArray)
          Method setMethod
 void setTransAttribute(String transAttribute)
          Sets the value of field 'transAttribute'.
static Object unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerTransaction

public ContainerTransaction()
Method Detail

addMethod

public void addMethod(Method vMethod)
               throws IndexOutOfBoundsException
Method addMethod

Parameters:
vMethod -
Throws:
IndexOutOfBoundsException

addMethod

public void addMethod(int index,
                      Method vMethod)
               throws IndexOutOfBoundsException
Method addMethod

Parameters:
index -
vMethod -
Throws:
IndexOutOfBoundsException

enumerateMethod

public Enumeration enumerateMethod()
Method enumerateMethod


getDescription

public String getDescription()
Returns the value of field 'description'.

Returns:
the value of field 'description'.

getId

public String getId()
Returns the value of field 'id'.

Returns:
the value of field 'id'.

getMethod

public Method getMethod(int index)
                 throws IndexOutOfBoundsException
Method getMethod

Parameters:
index -
Throws:
IndexOutOfBoundsException

getMethod

public Method[] getMethod()
Method getMethod


getMethodCount

public int getMethodCount()
Method getMethodCount


getTransAttribute

public String getTransAttribute()
Returns the value of field 'transAttribute'.

Returns:
the value of field 'transAttribute'.

isValid

public boolean isValid()
Method isValid


marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllMethod

public void removeAllMethod()
Method removeAllMethod


removeMethod

public Method removeMethod(int index)
Method removeMethod

Parameters:
index -

setDescription

public void setDescription(String description)
Sets the value of field 'description'.

Parameters:
description - the value of field 'description'.

setId

public void setId(String id)
Sets the value of field 'id'.

Parameters:
id - the value of field 'id'.

setMethod

public void setMethod(int index,
                      Method vMethod)
               throws IndexOutOfBoundsException
Method setMethod

Parameters:
index -
vMethod -
Throws:
IndexOutOfBoundsException

setMethod

public void setMethod(Method[] methodArray)
Method setMethod

Parameters:
methodArray -

setTransAttribute

public void setTransAttribute(String transAttribute)
Sets the value of field 'transAttribute'.

Parameters:
transAttribute - the value of field 'transAttribute'.

unmarshal

public static Object unmarshal(Reader reader)
                        throws org.exolab.castor.xml.MarshalException,
                               org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2010 OpenEJB. All Rights Reserved.