org.openejb.alt.config.ejb11
Class ContainerTransaction

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

public class ContainerTransaction
extends java.lang.Object
implements java.io.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
 java.util.Enumeration enumerateMethod()
          Method enumerateMethod
 java.lang.String getDescription()
          Returns the value of field 'description'.
 java.lang.String getId()
          Returns the value of field 'id'.
 Method[] getMethod()
          Method getMethod
 Method getMethod(int index)
          Method getMethod
 int getMethodCount()
          Method getMethodCount
 java.lang.String getTransAttribute()
          Returns the value of field 'transAttribute'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllMethod()
          Method removeAllMethod
 Method removeMethod(int index)
          Method removeMethod
 void setDescription(java.lang.String description)
          Sets the value of field 'description'.
 void setId(java.lang.String id)
          Sets the value of field 'id'.
 void setMethod(int index, Method vMethod)
          Method setMethod
 void setMethod(Method[] methodArray)
          Method setMethod
 void setTransAttribute(java.lang.String transAttribute)
          Sets the value of field 'transAttribute'.
static java.lang.Object unmarshal(java.io.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 java.lang.IndexOutOfBoundsException
Method addMethod

Parameters:
vMethod -
Throws:
java.lang.IndexOutOfBoundsException

addMethod

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

Parameters:
index -
vMethod -
Throws:
java.lang.IndexOutOfBoundsException

enumerateMethod

public java.util.Enumeration enumerateMethod()
Method enumerateMethod


getDescription

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

Returns:
the value of field 'description'.

getId

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

Returns:
the value of field 'id'.

getMethod

public Method getMethod(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getMethod

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getMethod

public Method[] getMethod()
Method getMethod


getMethodCount

public int getMethodCount()
Method getMethodCount


getTransAttribute

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

Returns:
the value of field 'transAttribute'.

isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.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(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.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(java.lang.String description)
Sets the value of field 'description'.

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

setId

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

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

setMethod

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

Parameters:
index -
vMethod -
Throws:
java.lang.IndexOutOfBoundsException

setMethod

public void setMethod(Method[] methodArray)
Method setMethod

Parameters:
methodArray -

setTransAttribute

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

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

unmarshal

public static java.lang.Object unmarshal(java.io.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-2011 OpenEJB. All Rights Reserved.