org.openejb.alt.config.ejb11
Class MethodPermission

java.lang.Object
  |
  +--org.openejb.alt.config.ejb11.MethodPermission
All Implemented Interfaces:
java.io.Serializable

public class MethodPermission
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 1.2 $ $Date: 2002/02/25 20:30:51 $
See Also:
Serialized Form

Constructor Summary
MethodPermission()
           
 
Method Summary
 void addMethod(Method vMethod)
           
 void addRoleName(java.lang.String vRoleName)
           
 java.util.Enumeration enumerateMethod()
           
 java.util.Enumeration enumerateRoleName()
           
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 Method[] getMethod()
           
 Method getMethod(int index)
           
 int getMethodCount()
           
 java.lang.String[] getRoleName()
           
 java.lang.String getRoleName(int index)
           
 int getRoleNameCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllMethod()
           
 void removeAllRoleName()
           
 Method removeMethod(int index)
           
 java.lang.String removeRoleName(int index)
           
 void setDescription(java.lang.String _description)
           
 void setId(java.lang.String _id)
           
 void setMethod(int index, Method vMethod)
           
 void setMethod(Method[] methodArray)
           
 void setRoleName(int index, java.lang.String vRoleName)
           
 void setRoleName(java.lang.String[] roleNameArray)
           
static MethodPermission unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodPermission

public MethodPermission()
Method Detail

addMethod

public void addMethod(Method vMethod)
               throws java.lang.IndexOutOfBoundsException
Parameters:
vMethod -  

addRoleName

public void addRoleName(java.lang.String vRoleName)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
vRoleName -  

enumerateMethod

public java.util.Enumeration enumerateMethod()

enumerateRoleName

public java.util.Enumeration enumerateRoleName()

getDescription

public java.lang.String getDescription()

getId

public java.lang.String getId()

getMethod

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

getMethod

public Method[] getMethod()

getMethodCount

public int getMethodCount()

getRoleName

public java.lang.String getRoleName(int index)
                             throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getRoleName

public java.lang.String[] getRoleName()

getRoleNameCount

public int getRoleNameCount()

isValid

public boolean isValid()

marshal

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

marshal

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

removeAllMethod

public void removeAllMethod()

removeAllRoleName

public void removeAllRoleName()

removeMethod

public Method removeMethod(int index)
Parameters:
index -  

removeRoleName

public java.lang.String removeRoleName(int index)
Parameters:
index -  

setDescription

public void setDescription(java.lang.String _description)
Parameters:
_description -  

setId

public void setId(java.lang.String _id)
Parameters:
_id -  

setMethod

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

setMethod

public void setMethod(Method[] methodArray)
Parameters:
methodArray -  

setRoleName

public void setRoleName(int index,
                        java.lang.String vRoleName)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vRoleName -  

setRoleName

public void setRoleName(java.lang.String[] roleNameArray)
Parameters:
roleNameArray -  

unmarshal

public static MethodPermission unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

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