org.openejb.config.ejb11
Class MethodParams

java.lang.Object
  extended byorg.openejb.config.ejb11.MethodParams
All Implemented Interfaces:
Serializable

public class MethodParams
extends Object
implements Serializable

Version:
$Revision: 1.1 $ $Date: 2004/03/01 07:14:43 $
See Also:
Serialized Form

Constructor Summary
MethodParams()
           
 
Method Summary
 void addMethodParam(int index, String vMethodParam)
           
 void addMethodParam(String vMethodParam)
           
 Enumeration enumerateMethodParam()
           
 String getId()
          Returns the value of field 'id'.
 String[] getMethodParam()
           
 String getMethodParam(int index)
           
 int getMethodParamCount()
           
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void removeAllMethodParam()
           
 String removeMethodParam(int index)
           
 void setId(String id)
          Sets the value of field 'id'.
 void setMethodParam(int index, String vMethodParam)
           
 void setMethodParam(String[] methodParamArray)
           
static MethodParams unmarshal(Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodParams

public MethodParams()
Method Detail

addMethodParam

public void addMethodParam(String vMethodParam)
                    throws IndexOutOfBoundsException
Parameters:
vMethodParam -
Throws:
IndexOutOfBoundsException

addMethodParam

public void addMethodParam(int index,
                           String vMethodParam)
                    throws IndexOutOfBoundsException
Parameters:
index -
vMethodParam -
Throws:
IndexOutOfBoundsException

enumerateMethodParam

public Enumeration enumerateMethodParam()

getId

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

Returns:
the value of field 'id'.

getMethodParam

public String getMethodParam(int index)
                      throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getMethodParam

public String[] getMethodParam()

getMethodParamCount

public int getMethodParamCount()

isValid

public boolean isValid()

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllMethodParam

public void removeAllMethodParam()

removeMethodParam

public String removeMethodParam(int index)
Parameters:
index -

setId

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

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

setMethodParam

public void setMethodParam(int index,
                           String vMethodParam)
                    throws IndexOutOfBoundsException
Parameters:
index -
vMethodParam -
Throws:
IndexOutOfBoundsException

setMethodParam

public void setMethodParam(String[] methodParamArray)
Parameters:
methodParamArray -

unmarshal

public static MethodParams unmarshal(Reader reader)
                              throws org.exolab.castor.xml.MarshalException,
                                     org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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


Copyright © 1999-2005 OpenEJB. All Rights Reserved.