|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.security.realm.principals.Role
public class Role
This class define the Role class which define a role with its name and description.
Constructor Summary | |
---|---|
Role()
Constructor |
|
Role(java.lang.String name)
Constructor with a specific role name |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Get the description of this role |
java.lang.String |
getName()
Get the name of this role |
void |
setDescription(java.lang.String description)
Set the description of this role |
void |
setName(java.lang.String name)
Set the name of this role |
java.lang.String |
toString()
Use the XML representation of this object |
java.lang.String |
toXML()
String representation of the role |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Role()
public Role(java.lang.String name)
name
- the role name to useMethod Detail |
---|
public void setName(java.lang.String name)
name
- Name of the rolepublic java.lang.String getName()
getName
in interface RoleMBean
public void setDescription(java.lang.String description)
setDescription
in interface RoleMBean
description
- description of the rolepublic java.lang.String getDescription()
getDescription
in interface RoleMBean
public java.lang.String toXML()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |