org.objectweb.jonas_ejb.deployment.xml
Class MethodPermission

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_ejb.deployment.xml.MethodPermission
All Implemented Interfaces:
java.io.Serializable, Element

public class MethodPermission
extends AbsElement

This class defines the implementation of the element method-permission

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
MethodPermission()
          Constructor
 
Method Summary
 void addMethod(Method method)
          Add a new method element to this object
 void addRoleName(java.lang.String roleName)
          Add a new role-name element to this object
 java.lang.String getDescription()
          Gets the description
 JLinkedList getMethodList()
          Gets the method
 JLinkedList getRoleNameList()
          Gets the role-name
 boolean isUnchecked()
          Gets the unchecked status
 void setDescription(java.lang.String description)
          Set the description
 void setMethodList(JLinkedList methodList)
          Set the method
 void setRoleNameList(JLinkedList roleNameList)
          Set the role-name
 void setUnchecked()
          Set the unchecked
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodPermission

public MethodPermission()
Constructor

Method Detail

getDescription

public java.lang.String getDescription()
Gets the description

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Set the description

Parameters:
description - description

getRoleNameList

public JLinkedList getRoleNameList()
Gets the role-name

Returns:
the role-name

setRoleNameList

public void setRoleNameList(JLinkedList roleNameList)
Set the role-name

Parameters:
roleNameList - roleName

addRoleName

public void addRoleName(java.lang.String roleName)
Add a new role-name element to this object

Parameters:
roleName - the roleNameobject

isUnchecked

public boolean isUnchecked()
Gets the unchecked status

Returns:
true if it is unchecked

setUnchecked

public void setUnchecked()
Set the unchecked


getMethodList

public JLinkedList getMethodList()
Gets the method

Returns:
the method

setMethodList

public void setMethodList(JLinkedList methodList)
Set the method

Parameters:
methodList - method

addMethod

public void addMethod(Method method)
Add a new method element to this object

Parameters:
method - the methodobject

toXML

public java.lang.String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.