public static enum Body.StateEnum extends Enum<Body.StateEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
Body.StateEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static Body.StateEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static Body.StateEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Body.StateEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Body.StateEnum ACTIVE
public static final Body.StateEnum CLOSED
public static Body.StateEnum[] values()
for (Body.StateEnum c : Body.StateEnum.values()) System.out.println(c);
public static Body.StateEnum 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<Body.StateEnum>public static Body.StateEnum fromValue(String text)
Copyright © 2018. All rights reserved.