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