org.openejb.alt.config.ejb11
Class MethodPermission

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

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

Class MethodPermission.

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

Constructor Summary
MethodPermission()
           
 
Method Summary
 void addMethod(int index, Method vMethod)
          Method addMethod
 void addMethod(Method vMethod)
          Method addMethod
 void addRoleName(int index, java.lang.String vRoleName)
          Method addRoleName
 void addRoleName(java.lang.String vRoleName)
          Method addRoleName
 java.util.Enumeration enumerateMethod()
          Method enumerateMethod
 java.util.Enumeration enumerateRoleName()
          Method enumerateRoleName
 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[] getRoleName()
          Method getRoleName
 java.lang.String getRoleName(int index)
          Method getRoleName
 int getRoleNameCount()
          Method getRoleNameCount
 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
 void removeAllRoleName()
          Method removeAllRoleName
 Method removeMethod(int index)
          Method removeMethod
 java.lang.String removeRoleName(int index)
          Method removeRoleName
 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 setRoleName(int index, java.lang.String vRoleName)
          Method setRoleName
 void setRoleName(java.lang.String[] roleNameArray)
          Method setRoleName
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

MethodPermission

public MethodPermission()
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

addRoleName

public void addRoleName(java.lang.String vRoleName)
                 throws java.lang.IndexOutOfBoundsException
Method addRoleName

Parameters:
vRoleName -
Throws:
java.lang.IndexOutOfBoundsException

addRoleName

public void addRoleName(int index,
                        java.lang.String vRoleName)
                 throws java.lang.IndexOutOfBoundsException
Method addRoleName

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

enumerateMethod

public java.util.Enumeration enumerateMethod()
Method enumerateMethod


enumerateRoleName

public java.util.Enumeration enumerateRoleName()
Method enumerateRoleName


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


getRoleName

public java.lang.String getRoleName(int index)
                             throws java.lang.IndexOutOfBoundsException
Method getRoleName

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getRoleName

public java.lang.String[] getRoleName()
Method getRoleName


getRoleNameCount

public int getRoleNameCount()
Method getRoleNameCount


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


removeAllRoleName

public void removeAllRoleName()
Method removeAllRoleName


removeMethod

public Method removeMethod(int index)
Method removeMethod

Parameters:
index -

removeRoleName

public java.lang.String removeRoleName(int index)
Method removeRoleName

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 -

setRoleName

public void setRoleName(int index,
                        java.lang.String vRoleName)
                 throws java.lang.IndexOutOfBoundsException
Method setRoleName

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

setRoleName

public void setRoleName(java.lang.String[] roleNameArray)
Method setRoleName

Parameters:
roleNameArray -

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.