public static enum OutGivingNodeProject.Status extends Enum<OutGivingNodeProject.Status> implements BaseEnum
CLASS_MAP_MAP, JSON_ARRAY_MAP
Modifier and Type | Method and Description |
---|---|
int |
getCode()
枚举的code
|
String |
getDesc()
枚举的描述
|
static OutGivingNodeProject.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OutGivingNodeProject.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getDescByCode, getEnum, getMap, toJSONArray, toJSONObject
public static final OutGivingNodeProject.Status No
public static final OutGivingNodeProject.Status Ing
public static final OutGivingNodeProject.Status Ok
public static final OutGivingNodeProject.Status Fail
public static final OutGivingNodeProject.Status Cancel
public static OutGivingNodeProject.Status[] values()
for (OutGivingNodeProject.Status c : OutGivingNodeProject.Status.values()) System.out.println(c);
public static OutGivingNodeProject.Status 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 getCode()
BaseEnum
Copyright © 2017–2019. All rights reserved.