org.ow2.util.ee.metadata.ejbjar.api.xml.struct
Interface IMethodPermission

All Superinterfaces:
Serializable

public interface IMethodPermission
extends Serializable

Interface for element method-permission.

Author:
Florent Benoit

Field Summary
static String NAME
          Name of this element.
 
Method Summary
 void addMethod(IMethodDD method)
          Add a new Method.
 void addRoleName(String roleName)
          Add the given role.
 List<IMethodDD> getMethods()
           
 List<String> getRoleNameList()
          Gets the name of the role.
 boolean isUnchecked()
          Is it unchecked ?.
 void setUnchecked(boolean unchecked)
          Sets the unchecked flag.
 

Field Detail

NAME

static final String NAME
Name of this element.

See Also:
Constant Field Values
Method Detail

setUnchecked

void setUnchecked(boolean unchecked)
Sets the unchecked flag.

Parameters:
unchecked - the given boolean value.

isUnchecked

boolean isUnchecked()
Is it unchecked ?.

Returns:
true if it is unchecked, else false.

addMethod

void addMethod(IMethodDD method)
Add a new Method.

Parameters:
method - the given method.

getMethods

List<IMethodDD> getMethods()
Returns:
list of methods.

getRoleNameList

List<String> getRoleNameList()
Gets the name of the role.

Returns:
the role's name.

addRoleName

void addRoleName(String roleName)
Add the given role.

Parameters:
roleName - the name of the role.


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.