|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jaulp.auth.SimpleRole
public class SimpleRole
The Class SimpleRole.
Constructor Summary | |
---|---|
SimpleRole()
|
Method Summary | |
---|---|
java.util.Collection<AccessRight> |
getAccessRights()
Gets the access rights. |
java.lang.String |
getDescription()
Returns the field description . |
java.lang.String |
getName()
Gets the name. |
void |
setAccessRights(java.util.Collection<AccessRight> permissions)
Sets the permissions. |
void |
setDescription(java.lang.String description)
Sets the field description . |
void |
setName(java.lang.String name)
Sets the name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleRole()
Method Detail |
---|
public java.util.Collection<AccessRight> getAccessRights()
getAccessRights
in interface Role
Role.getAccessRights()
public java.lang.String getDescription()
description
.
description
.public java.lang.String getName()
getName
in interface Role
Role.getName()
public void setAccessRights(java.util.Collection<AccessRight> permissions)
setAccessRights
in interface Role
permissions
- the new access rights.Role.setAccessRights(java.util.Collection)
public void setDescription(java.lang.String description)
description
.
description
- The description
to setpublic void setName(java.lang.String name)
setName
in interface Role
name
- the new name.Role.setName(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |