org.eclipse.modisco.jee.ejbjar.EjbJar21
Interface MethodPermissionType


public interface MethodPermissionType

A representation of the model object 'Method Permission Type'. The method-permissionType specifies that one or more security roles are allowed to invoke one or more enterprise bean methods. The method-permissionType consists of an optional description, a list of security role names or an indicator to state that the method is unchecked for authorization, and a list of method elements. The security roles used in the method-permissionType must be defined in the security-role elements of the deployment descriptor, and the methods must be methods defined in the enterprise bean's home, component and/or web service endpoint interfaces.

The following features are supported:

See Also:
EjbJar21Package.getMethodPermissionType()
Generated:
Model:
extendedMetaData="name='method-permissionType' kind='elementOnly'"

Method Summary
  getDescription()
          Returns the value of the 'Description' containment reference list.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
  getMethod()
          Returns the value of the 'Method' containment reference list.
  getRoleName()
          Returns the value of the 'Role Name' containment reference list.
 EmptyType getUnchecked()
          Returns the value of the 'Unchecked' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setUnchecked(EmptyType value)
          Sets the value of the 'Unchecked' containment reference.
 

Method Detail

getDescription

 getDescription()
Returns the value of the 'Description' containment reference list. The list contents are of type DescriptionType.

If the meaning of the 'Description' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Description' containment reference list.
See Also:
EjbJar21Package.getMethodPermissionType_Description()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/j2ee'"

getRoleName

 getRoleName()
Returns the value of the 'Role Name' containment reference list. The list contents are of type RoleNameType.

If the meaning of the 'Role Name' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Role Name' containment reference list.
See Also:
EjbJar21Package.getMethodPermissionType_RoleName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='role-name' namespace='http://java.sun.com/xml/ns/j2ee'"

getUnchecked

EmptyType getUnchecked()
Returns the value of the 'Unchecked' containment reference. The unchecked element specifies that a method is not checked for authorization by the container prior to invocation of the method.

Returns:
the value of the 'Unchecked' containment reference.
See Also:
setUnchecked(EmptyType), EjbJar21Package.getMethodPermissionType_Unchecked()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='unchecked' namespace='http://java.sun.com/xml/ns/j2ee'"

setUnchecked

void setUnchecked(EmptyType value)
Sets the value of the 'Unchecked' containment reference.

Parameters:
value - the new value of the 'Unchecked' containment reference.
See Also:
getUnchecked()
Generated:

getMethod

 getMethod()
Returns the value of the 'Method' containment reference list. The list contents are of type MethodType.

If the meaning of the 'Method' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Method' containment reference list.
See Also:
EjbJar21Package.getMethodPermissionType_Method()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='method' namespace='http://java.sun.com/xml/ns/j2ee'"

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), EjbJar21Package.getMethodPermissionType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated: