public enum OptType extends Enum<OptType>
| Enum Constant and Description |
|---|
MANAGE
后台web用户
|
MOBILE
手机端用户
|
OTHER
其它
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
获取 code
|
static OptType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptType OTHER
public static final OptType MANAGE
public static final OptType MOBILE
private final String code
public static OptType[] values()
for (OptType c : OptType.values()) System.out.println(c);
public static OptType 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 getCode()
Copyright © 2024. All rights reserved.