com.ebmwebsourcing.webcommons.user.service
Enum RolesEnum
java.lang.Object
java.lang.Enum<RolesEnum>
com.ebmwebsourcing.webcommons.user.service.RolesEnum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RolesEnum>
public enum RolesEnum
- extends java.lang.Enum<RolesEnum>
An enumeration of supported tmodel types
- Author:
- ofabre - eBM Websourcing
|
Method Summary |
static RolesEnum |
fromString(java.lang.String type)
Return the RolesEnum related to the given string or null if it isn't
supported |
static java.lang.String[] |
stringValues()
|
java.lang.String |
toString()
|
static RolesEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RolesEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MANAGEADMINISTRATION
public static final RolesEnum MANAGEADMINISTRATION
MANAGEORGA
public static final RolesEnum MANAGEORGA
VIEWORGA
public static final RolesEnum VIEWORGA
MANAGESERVICE
public static final RolesEnum MANAGESERVICE
VIEWSERVICE
public static final RolesEnum VIEWSERVICE
MANAGERUNTIMEMANAGER
public static final RolesEnum MANAGERUNTIMEMANAGER
VIEWRUNTIMEMANAGER
public static final RolesEnum VIEWRUNTIMEMANAGER
values
public static RolesEnum[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RolesEnum c : RolesEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RolesEnum valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Enum<RolesEnum>
fromString
public static RolesEnum fromString(java.lang.String type)
- Return the RolesEnum related to the given string or null if it isn't
supported
- Parameters:
type - the string representing a potential RolesEnum
- Returns:
- the
RolesEnum enum related to the given String
stringValues
public static java.lang.String[] stringValues()
Copyright © 2010 eBM WebSourcing. All Rights Reserved.