public enum RoleParticipantType extends java.lang.Enum<RoleParticipantType> implements ParticipantType
| 枚举常量和说明 |
|---|
RESOURCE_CODE |
RESOURCE_SET |
ROLE |
TENANT |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
abbr() |
static RoleParticipantType |
fromAbbr(java.lang.String value) |
static RoleParticipantType |
fromName(java.lang.String value) |
java.lang.String |
getName() |
static RoleParticipantType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static RoleParticipantType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgenerateIdpublic static final RoleParticipantType TENANT
public static final RoleParticipantType ROLE
public static final RoleParticipantType RESOURCE_SET
public static final RoleParticipantType RESOURCE_CODE
public static RoleParticipantType[] values()
for (RoleParticipantType c : RoleParticipantType.values()) System.out.println(c);
public static RoleParticipantType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public java.lang.String getName()
getName 在接口中 ParticipantTypepublic java.lang.String abbr()
abbr 在接口中 ParticipantTypepublic static RoleParticipantType fromName(java.lang.String value)
public static RoleParticipantType fromAbbr(java.lang.String value)