public static enum InformationCaseTemplet.PhoneType extends Enum<InformationCaseTemplet.PhoneType>
文件名:InputRuleType.java
用途:用于枚举号码限制
编码时间:2020年3月14日 下午9:14:30
修改时间:2020年3月14日 下午9:14:30
Enum Constant and Description |
---|
FIXED
设置类型为固定电话(座机)
|
MOBLE
设置类型为移动电话(手机)
|
Modifier and Type | Method and Description |
---|---|
static InformationCaseTemplet.PhoneType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InformationCaseTemplet.PhoneType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InformationCaseTemplet.PhoneType MOBLE
public static final InformationCaseTemplet.PhoneType FIXED
public static InformationCaseTemplet.PhoneType[] values()
for (InformationCaseTemplet.PhoneType c : InformationCaseTemplet.PhoneType.values()) System.out.println(c);
public static InformationCaseTemplet.PhoneType 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.