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