| java.lang.Object |
| ↳ |
java.lang.Enum<E extends java.lang.Enum<E>> |
| |
↳ |
vars.UserAccountRoles |
Class Overview
Created by IntelliJ IDEA.
User: brian
Date: Aug 19, 2009
Time: 2:56:30 PM
To change this template use File | Settings | File Templates.
Summary
| Enum Values |
| UserAccountRoles |
ADMINISTRATOR |
|
| UserAccountRoles |
MAINTENANCE |
|
| UserAccountRoles |
READONLY |
|
|
[Expand]
Inherited Methods |
From class
java.lang.Enum
|
final
Object
|
clone()
|
|
final
int
|
compareTo(E arg0)
|
|
int
|
compareTo(Object arg0)
|
|
final
boolean
|
equals(Object arg0)
|
|
final
void
|
finalize()
|
|
final
Class<E>
|
getDeclaringClass()
|
|
final
int
|
hashCode()
|
|
final
String
|
name()
|
|
final
int
|
ordinal()
|
|
String
|
toString()
|
|
static
<T extends Enum<T>>
T
|
valueOf(Class<T> arg0, String arg1)
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait(long arg0, int arg1)
|
|
From interface
java.lang.Comparable
|
abstract
int
|
compareTo(T arg0)
|
|
Enum Values
Public Methods
public
static
UserAccountRoles
getRole
(String roleName)
Return the role that corresponds to 'roleName'. Useful for matching the
value that's stored in the database to the correct role.
Parameters
| roleName
| The string name of the role (Admin, Maint or ReadOnly). The serach
is case insensitive and will match using the roleName or long name of the role |
Returns
- The matching UserAccountRole or null of the string provided doens't match any
of the roles
public
String
getRoleName
()
public
String
toString
()