public enum OrganizationStatus extends Enum<OrganizationStatus>
Organization| Enum Constant and Description |
|---|
ACTIVE
The active state
|
SUSPENDED
The suspended state
|
| Modifier and Type | Method and Description |
|---|---|
static OrganizationStatus |
from(String s) |
String |
getValue() |
String |
toString() |
static OrganizationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrganizationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrganizationStatus ACTIVE
public static final OrganizationStatus SUSPENDED
public static OrganizationStatus[] values()
for (OrganizationStatus c : OrganizationStatus.values()) System.out.println(c);
public static OrganizationStatus 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 static OrganizationStatus from(String s)
public String getValue()
public String toString()
toString in class Enum<OrganizationStatus>Copyright © 2020. All rights reserved.