Enum Class ModelIsMenuEnum

java.lang.Object
java.lang.Enum<ModelIsMenuEnum>
net.mingsoft.basic.constant.e.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:
李书宇
  • Enum Constant Details

    • MODEL_NOTMENU

      public static final ModelIsMenuEnum MODEL_NOTMENU
      是否是菜单0非菜单
    • MODEL_MEUN

      public static final ModelIsMenuEnum MODEL_MEUN
      是否是菜单1菜单
  • Method Details

    • values

      public static ModelIsMenuEnum[] 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

      public static ModelIsMenuEnum valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toInt

      public int toInt()
      Specified by:
      toInt in interface net.mingsoft.base.constant.e.BaseEnum
    • toString

      public String toString()
      Specified by:
      toString in interface net.mingsoft.base.constant.e.BaseEnum
      Overrides:
      toString in class Enum<ModelIsMenuEnum>