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