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