Package net.mingsoft.basic.constant.e
Enum Class ManagerAdminEnum
- All Implemented Interfaces:
Serializable,Comparable<ManagerAdminEnum>,Constable,net.mingsoft.base.constant.e.BaseEnum
public enum ManagerAdminEnum
extends Enum<ManagerAdminEnum>
implements net.mingsoft.base.constant.e.BaseEnum
管理员类型枚举
- Version:
- 版本号:100-000-000
创建日期:2012-03-15
历史修订:
2022-1-4 增加SUPERADMIN枚举,用于区分站群管理员权限 - Author:
- ms dev group
-
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 ManagerAdminEnumReturns the enum constant of this class with the specified name.static ManagerAdminEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUPER
超级管理员 -
SUPERADMIN
站群超级管理员,只有在启用了站群才有用
-
-
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<ManagerAdminEnum>
-