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