public enum ResponseTypeEnum extends Enum<ResponseTypeEnum> implements DmcEnumIF
Generated from the dmp schema at version 0.1
This code was auto-generated by the dmogenerator utility and shouldn't be altered manually! Generated from: org.dmd.dms.util.DmoEnumFormatter.dumpEnum(DmoEnumFormatter.java:100)
| Enum Constant and Description |
|---|
CANCELLED |
ERROR |
HEARTBEAT |
PROGRESSOBJECTS |
PROGRESSPERCENT |
PROGRESSTEXT |
SUCCESS |
UNKNOWN |
WARNING |
| Modifier and Type | Method and Description |
|---|---|
String |
displayValue()
Returns the display value of this enum value as a String.
|
static ResponseTypeEnum |
get(int code)
Returns the enum value of the specified int or null if it's not valid.
|
static ResponseTypeEnum |
get(String str)
Returns a value for this enum or throws an exception if the String value isn't
a valid member of this enum.
|
int |
intValue()
Returns the value of this enum value as an int.
|
static ResponseTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseTypeEnum UNKNOWN
public static final ResponseTypeEnum SUCCESS
public static final ResponseTypeEnum WARNING
public static final ResponseTypeEnum ERROR
public static final ResponseTypeEnum PROGRESSTEXT
public static final ResponseTypeEnum PROGRESSPERCENT
public static final ResponseTypeEnum HEARTBEAT
public static final ResponseTypeEnum CANCELLED
public static final ResponseTypeEnum PROGRESSOBJECTS
public static ResponseTypeEnum[] values()
for (ResponseTypeEnum c : ResponseTypeEnum.values()) System.out.println(c);
public static ResponseTypeEnum 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 int intValue()
public String displayValue()
displayValue in interface DmcEnumIFpublic static ResponseTypeEnum get(int code)
public static ResponseTypeEnum get(String str)
Copyright © 2023. All rights reserved.