public enum FakerType extends Enum<FakerType>
Enum Constant and Description |
---|
ADDRESS
住址
|
COMPANY_CREDIT_CODE
社会统一信用代码
|
COMPANY_NAME
公司名称
|
CREDIT_CARD
信用卡
|
DEBIT_CARD
储蓄卡
|
EDUCATION
学历
|
EMAIL
邮箱
|
EN_NAME
英文名
|
ID_CARD
身份证信息
|
INDUSTRY
行业
|
IP
常用ip
|
LICENSE_PLATE
车牌号
|
MOBILE
手机号
|
NAME
名称
|
UNIVERSITY
学校名称
|
Modifier and Type | Field and Description |
---|---|
static FakerType[] |
ALL |
static FakerType[] |
BASE |
Modifier and Type | Method and Description |
---|---|
static FakerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FakerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FakerType NAME
public static final FakerType EN_NAME
public static final FakerType MOBILE
public static final FakerType EMAIL
public static final FakerType ADDRESS
public static final FakerType ID_CARD
public static final FakerType DEBIT_CARD
public static final FakerType CREDIT_CARD
public static final FakerType EDUCATION
public static final FakerType UNIVERSITY
public static final FakerType INDUSTRY
public static final FakerType LICENSE_PLATE
public static final FakerType COMPANY_CREDIT_CODE
public static final FakerType COMPANY_NAME
public static final FakerType IP
public static FakerType[] values()
for (FakerType c : FakerType.values()) System.out.println(c);
public static FakerType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024. All rights reserved.