org.openejb.config.ejb11
Class MethodPermission

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

public class MethodPermission
extends Object
implements Serializable

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

Constructor Summary
MethodPermission()
           
 
Method Summary
 void addMethod(Method vMethod)
           
 void addRoleName(String vRoleName)
           
 Enumeration enumerateMethod()
           
 Enumeration enumerateRoleName()
           
 String getDescription()
           
 String getId()
           
 Method[] getMethod()
           
 Method getMethod(int index)
           
 int getMethodCount()
           
 String[] getRoleName()
           
 String getRoleName(int index)
           
 int getRoleNameCount()
           
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void removeAllMethod()
           
 void removeAllRoleName()
           
 Method removeMethod(int index)
           
 String removeRoleName(int index)
           
 void setDescription(String _description)
           
 void setId(String _id)
           
 void setMethod(int index, Method vMethod)
           
 void setMethod(Method[] methodArray)
           
 void setRoleName(int index, String vRoleName)
           
 void setRoleName(String[] roleNameArray)
           
static MethodPermission 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

MethodPermission

public MethodPermission()
Method Detail

addMethod

public void addMethod(Method vMethod)
               throws IndexOutOfBoundsException
Parameters:
vMethod -
Throws:
IndexOutOfBoundsException

addRoleName

public void addRoleName(String vRoleName)
                 throws IndexOutOfBoundsException
Parameters:
vRoleName -
Throws:
IndexOutOfBoundsException

enumerateMethod

public Enumeration enumerateMethod()

enumerateRoleName

public Enumeration enumerateRoleName()

getDescription

public String getDescription()

getId

public String getId()

getMethod

public Method getMethod(int index)
                 throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getMethod

public Method[] getMethod()

getMethodCount

public int getMethodCount()

getRoleName

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

getRoleName

public String[] getRoleName()

getRoleNameCount

public int getRoleNameCount()

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

removeAllMethod

public void removeAllMethod()

removeAllRoleName

public void removeAllRoleName()

removeMethod

public Method removeMethod(int index)
Parameters:
index -

removeRoleName

public String removeRoleName(int index)
Parameters:
index -

setDescription

public void setDescription(String _description)
Parameters:
_description -

setId

public void setId(String _id)
Parameters:
_id -

setMethod

public void setMethod(int index,
                      Method vMethod)
               throws IndexOutOfBoundsException
Parameters:
index -
vMethod -
Throws:
IndexOutOfBoundsException

setMethod

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

setRoleName

public void setRoleName(int index,
                        String vRoleName)
                 throws IndexOutOfBoundsException
Parameters:
index -
vRoleName -
Throws:
IndexOutOfBoundsException

setRoleName

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

unmarshal

public static MethodPermission 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.