public enum PurposeType extends Enum<PurposeType>
| Enum Constant and Description |
|---|
SignPurposeForOther |
SignPurposeForOwn |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getDesc() |
void |
setCode(int code) |
void |
setDesc(String desc) |
static PurposeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PurposeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PurposeType SignPurposeForOwn
public static final PurposeType SignPurposeForOther
public static PurposeType[] values()
for (PurposeType c : PurposeType.values()) System.out.println(c);
public static PurposeType 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()
public void setCode(int code)
public String getDesc()
public void setDesc(String desc)
Copyright © 2025. All rights reserved.