Package net.mingsoft.basic.constant.e
Enum Class ModelIsMenuEnum
- All Implemented Interfaces:
Serializable,Comparable<ModelIsMenuEnum>,Constable,net.mingsoft.base.constant.e.BaseEnum
public enum ModelIsMenuEnum
extends Enum<ModelIsMenuEnum>
implements net.mingsoft.base.constant.e.BaseEnum
菜单类型枚举
- Version:
- 版本号:
创建日期:@date 2015年10月21日
历史修订: - Author:
- 李书宇
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptioninttoInt()toString()static ModelIsMenuEnumReturns the enum constant of this class with the specified name.static ModelIsMenuEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODEL_NOTMENU
是否是菜单0非菜单 -
MODEL_MEUN
是否是菜单1菜单
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toInt
public int toInt()- Specified by:
toIntin interfacenet.mingsoft.base.constant.e.BaseEnum
-
toString
- Specified by:
toStringin interfacenet.mingsoft.base.constant.e.BaseEnum- Overrides:
toStringin classEnum<ModelIsMenuEnum>
-