public static enum CompanyIndexResponseCompanies.RoleEnum extends Enum<CompanyIndexResponseCompanies.RoleEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
CompanyIndexResponseCompanies.RoleEnum.Adapter |
| Enum Constant and Description |
|---|
ADMIN |
READ_ONLY |
SELF_ONLY |
SIMPLE_ACCOUNTING |
| Modifier and Type | Method and Description |
|---|---|
static CompanyIndexResponseCompanies.RoleEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static CompanyIndexResponseCompanies.RoleEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompanyIndexResponseCompanies.RoleEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompanyIndexResponseCompanies.RoleEnum ADMIN
public static final CompanyIndexResponseCompanies.RoleEnum SIMPLE_ACCOUNTING
public static final CompanyIndexResponseCompanies.RoleEnum SELF_ONLY
public static final CompanyIndexResponseCompanies.RoleEnum READ_ONLY
public static CompanyIndexResponseCompanies.RoleEnum[] values()
for (CompanyIndexResponseCompanies.RoleEnum c : CompanyIndexResponseCompanies.RoleEnum.values()) System.out.println(c);
public static CompanyIndexResponseCompanies.RoleEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<CompanyIndexResponseCompanies.RoleEnum>public static CompanyIndexResponseCompanies.RoleEnum fromValue(String value)
Copyright © 2020. All rights reserved.