public enum ModelIsMenuEnum extends Enum<ModelIsMenuEnum> implements net.mingsoft.base.constant.e.BaseEnum
| Enum Constant and Description |
|---|
MODEL_MEUN
是否是菜单1菜单
|
MODEL_NOTMENU
是否是菜单0非菜单
|
| Modifier and Type | Method and Description |
|---|---|
int |
toInt() |
String |
toString() |
static ModelIsMenuEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelIsMenuEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelIsMenuEnum MODEL_NOTMENU
public static final ModelIsMenuEnum MODEL_MEUN
public static ModelIsMenuEnum[] values()
for (ModelIsMenuEnum c : ModelIsMenuEnum.values()) System.out.println(c);
public static ModelIsMenuEnum 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 toInt()
toInt in interface net.mingsoft.base.constant.e.BaseEnumpublic String toString()
toString in interface net.mingsoft.base.constant.e.BaseEnumtoString in class Enum<ModelIsMenuEnum>Copyright © 2020. All rights reserved.