|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sitools.role.model.Role
public final class Role
Role class
| Constructor Summary | |
|---|---|
Role()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDescription()
Gets the description value |
java.util.List<Resource> |
getGroups()
Gets the groups value |
java.lang.String |
getId()
Gets the id value |
java.lang.String |
getName()
Gets the name value |
java.util.List<Resource> |
getUsers()
Gets the users value |
int |
hashCode()
|
void |
setDescription(java.lang.String description)
Sets the value of description |
void |
setGroups(java.util.List<Resource> groups)
Sets the value of groups |
void |
setId(java.lang.String id)
Sets the value of id |
void |
setName(java.lang.String name)
Sets the value of name |
void |
setUsers(java.util.List<Resource> users)
Sets the value of users |
org.restlet.security.Role |
wrap()
SITools to RESTlet role converter |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Role()
| Method Detail |
|---|
public java.lang.String getId()
getId in interface IResourcepublic void setId(java.lang.String id)
setId in interface IResourceid - the id to setpublic java.lang.String getName()
getName in interface IResourcepublic void setName(java.lang.String name)
name - the name to setpublic java.lang.String getDescription()
getDescription in interface IResourcepublic void setDescription(java.lang.String description)
description - the description to setpublic java.util.List<Resource> getUsers()
public void setUsers(java.util.List<Resource> users)
users - the users to setpublic java.util.List<Resource> getGroups()
public void setGroups(java.util.List<Resource> groups)
groups - the groups to setpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic org.restlet.security.Role wrap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||