|
Fish & Chips Club 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object hirondelle.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 Object
public boolean equals(Object aThat)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
Fish & Chips Club 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |