|
Fish & Chips Club 4.7.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objecthirondelle.fish.access.role.UserRole
public final class UserRole
The security roles attached to a user.
| Constructor Summary | |
|---|---|
UserRole(SafeText aUserName,
List<Id> aRoles)
Full constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object aThat)
|
List<Id> |
getRoles()
Return an unmodifiable version of the roles passed to the constructor. |
SafeText |
getUserName()
Return the user name passed to the constructor. |
int |
hashCode()
|
String |
toString()
Intended for debugging only. |
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UserRole(SafeText aUserName,
List<Id> aRoles)
throws ModelCtorException
(Note that this Model Object is somewhat unusual since it has a
List as a constructor argument.)
aUserName - user name (required), 6..50 characters, no spaces.aRoles - required, possibly empty
ModelCtorException| Method Detail |
|---|
public SafeText getUserName()
public List<Id> getRoles()
Returns an ummodifiable List.
public String toString()
toString in class Objectpublic boolean equals(Object aThat)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
Fish & Chips Club 4.7.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||