public enum ValidateType extends Enum<ValidateType>
| Enum Constant and Description |
|---|
LICENSE_AVAILABLE |
LICENSE_ERROR |
LICENSE_HA_OFF |
LICENSE_NODE_RANG |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static ValidateType |
getValidateTypeByCode(String code)
get ValidateType by code
|
String |
getValue() |
void |
setCode(String code) |
void |
setValue(String value) |
static ValidateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidateType LICENSE_ERROR
public static final ValidateType LICENSE_NODE_RANG
public static final ValidateType LICENSE_AVAILABLE
public static final ValidateType LICENSE_HA_OFF
public static ValidateType[] values()
for (ValidateType c : ValidateType.values()) System.out.println(c);
public static ValidateType 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 void setValue(String value)
value - the value to setpublic String getCode()
public void setCode(String code)
code - the code to setpublic static ValidateType getValidateTypeByCode(String code)
code - Copyright © 2014. All Rights Reserved.