|
||||||||||
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 IResource
public void setId(java.lang.String id)
setId
in interface IResource
id
- the id to setpublic java.lang.String getName()
getName
in interface IResource
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getDescription()
getDescription
in interface IResource
public 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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public org.restlet.security.Role wrap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |