org.objectweb.jonas.security.realm.principals.Role Class Reference

Inherits org.objectweb.jonas.security.realm.principals.RoleMBean.

Inheritance diagram for org.objectweb.jonas.security.realm.principals.Role:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.security.realm.principals.Role:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Role ()
 Role (String name)
void setName (String name)
String getName ()
void setDescription (String description)
String getDescription ()
String toXML ()
String toString ()

Detailed Description

This class define the Role class which define a role with its name and description.
Author:
Florent Benoit

Definition at line 36 of file Role.java.


Constructor & Destructor Documentation

org.objectweb.jonas.security.realm.principals.Role.Role  ) 
 

Constructor

Definition at line 51 of file Role.java.

org.objectweb.jonas.security.realm.principals.Role.Role String  name  ) 
 

Constructor with a specific role name

Parameters:
name the role name to use

Definition at line 59 of file Role.java.

References org.objectweb.jonas.security.realm.principals.Role.setName().

Here is the call graph for this function:


Member Function Documentation

String org.objectweb.jonas.security.realm.principals.Role.getDescription  ) 
 

Get the description of this role

Returns:
the description of this role

Implements org.objectweb.jonas.security.realm.principals.RoleMBean.

Definition at line 91 of file Role.java.

String org.objectweb.jonas.security.realm.principals.Role.getName  ) 
 

Get the name of this role

Returns:
the name of this role

Implements org.objectweb.jonas.security.realm.principals.RoleMBean.

Definition at line 75 of file Role.java.

Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.removeMBeans().

void org.objectweb.jonas.security.realm.principals.Role.setDescription String  description  ) 
 

Set the description of this role

Parameters:
description description of the role

Implements org.objectweb.jonas.security.realm.principals.RoleMBean.

Definition at line 83 of file Role.java.

void org.objectweb.jonas.security.realm.principals.Role.setName String  name  ) 
 

Set the name of this role

Parameters:
name Name of the role

Definition at line 67 of file Role.java.

Referenced by org.objectweb.jonas.security.realm.principals.Role.Role().

String org.objectweb.jonas.security.realm.principals.Role.toString  ) 
 

Use the XML representation of this object

Returns:
the XML representation of this object

Definition at line 114 of file Role.java.

String org.objectweb.jonas.security.realm.principals.Role.toXML  ) 
 

String representation of the role

Returns:
the xml representation of the role

Definition at line 99 of file Role.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:56 2005 for JOnAS by  doxygen 1.3.9.1