org.objectweb.jonas_ear.deployment.xml
Class SecurityRole

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

public class SecurityRole
extends AbsElement

This class defines the implementation of the element security-role

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
SecurityRole()
          Constructor
 
Method Summary
 java.lang.String getDescription()
          Gets the description
 java.lang.String getRoleName()
          Gets the role-name
 void setDescription(java.lang.String description)
          Set the description
 void setRoleName(java.lang.String roleName)
          Set the role-name
 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

SecurityRole

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

getRoleName

public java.lang.String getRoleName()
Gets the role-name

Returns:
the role-name

setRoleName

public void setRoleName(java.lang.String roleName)
Set the role-name

Parameters:
roleName - roleName

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.