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