public enum UserPersonRelativeInfoIdType extends Enum<UserPersonRelativeInfoIdType>
| 枚举常量和说明 |
|---|
HONG_KONG_IDCARD |
MA_CAO_IDCARD |
PASSPORT |
SECOND_GENERATION_IDCARD |
TAI_WAN_IDCARD |
UNKNOWN |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode()
获取code属性字段的值.
|
String |
getDescription()
获取description属性字段的值.
|
static UserPersonRelativeInfoIdType |
parse(int code)
根据枚举code获取枚举类型.
|
static UserPersonRelativeInfoIdType |
parse(String name)
根据枚举名称获取枚举的类型(不区分大小写).
|
void |
setCode(int code)
设置code属性字段的值.
|
void |
setDescription(String description)
设置description属性字段的值.
|
static UserPersonRelativeInfoIdType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static UserPersonRelativeInfoIdType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final UserPersonRelativeInfoIdType UNKNOWN
public static final UserPersonRelativeInfoIdType SECOND_GENERATION_IDCARD
public static final UserPersonRelativeInfoIdType PASSPORT
public static final UserPersonRelativeInfoIdType TAI_WAN_IDCARD
public static final UserPersonRelativeInfoIdType MA_CAO_IDCARD
public static final UserPersonRelativeInfoIdType HONG_KONG_IDCARD
public static UserPersonRelativeInfoIdType[] values()
for (UserPersonRelativeInfoIdType c : UserPersonRelativeInfoIdType.values()) System.out.println(c);
public static UserPersonRelativeInfoIdType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static UserPersonRelativeInfoIdType parse(int code)
code - 枚举对应的codepublic static UserPersonRelativeInfoIdType parse(String name)
name - 枚举名称public int getCode()
public void setCode(int code)
code - 待设置类型为int的code属性字段的值.public String getDescription()
public void setDescription(String description)
description - 待设置类型为String的description属性字段的值.Copyright © 2024. All rights reserved.