public enum OrganizationRoles extends java.lang.Enum<OrganizationRoles> implements EnumConverter<OrganizationRoles>
| Modifier and Type | Method and Description |
|---|---|
static OrganizationRoles |
from(java.lang.String value) |
java.lang.String |
to(OrganizationRoles v) |
static OrganizationRoles |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrganizationRoles[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrganizationRoles ADMIN
public static final OrganizationRoles MANAGER
public static final OrganizationRoles VENDOR
public static final OrganizationRoles CLIENT
public static OrganizationRoles[] values()
for (OrganizationRoles c : OrganizationRoles.values()) System.out.println(c);
public static OrganizationRoles valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static OrganizationRoles from(java.lang.String value)
public java.lang.String to(OrganizationRoles v)
to in interface EnumConverter<OrganizationRoles>