public enum UserEnterpriseRelativeSyncRule extends Enum<UserEnterpriseRelativeSyncRule>
| 枚举常量和说明 |
|---|
REGISTER_ENTERPRISE |
REGISTER_ENTERPRISE_AUTHENTICATION |
REGISTER_ENTERPRISE_AUTHENTICATION_JOIN |
REGISTER_ENTERPRISE_PERSON_AUTHENTICATION_JOIN |
UNKNOWN |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
getCode()
获取code属性字段的值.
|
String |
getDescription()
获取description属性字段的值.
|
boolean |
is(int code)
判断是否是当前枚举.
|
static UserEnterpriseRelativeSyncRule |
parse(Integer code)
根据枚举code获取枚举类型.
|
static String |
transferFilters(String str)
转换字符串中(比如:filters)包含的枚举英文为code.
|
static UserEnterpriseRelativeSyncRule |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static UserEnterpriseRelativeSyncRule[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final UserEnterpriseRelativeSyncRule UNKNOWN
public static final UserEnterpriseRelativeSyncRule REGISTER_ENTERPRISE
public static final UserEnterpriseRelativeSyncRule REGISTER_ENTERPRISE_AUTHENTICATION
public static final UserEnterpriseRelativeSyncRule REGISTER_ENTERPRISE_AUTHENTICATION_JOIN
public static final UserEnterpriseRelativeSyncRule REGISTER_ENTERPRISE_PERSON_AUTHENTICATION_JOIN
public static UserEnterpriseRelativeSyncRule[] values()
for (UserEnterpriseRelativeSyncRule c : UserEnterpriseRelativeSyncRule.values()) System.out.println(c);
public static UserEnterpriseRelativeSyncRule valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static UserEnterpriseRelativeSyncRule parse(Integer code)
code - 枚举整型codepublic static String transferFilters(String str)
str - 需要转化的字符串public boolean is(int code)
code - 类型码public Integer getCode()
public String getDescription()
Copyright © 2023. All rights reserved.