public static enum InformationCaseTemplet.UploadFileType extends Enum<InformationCaseTemplet.UploadFileType>
文件名:InformationCase.java
用途:用于枚举上传文件的类型
编码时间:2020年3月18日上午9:56:51
修改时间:2023年3月15日 下午4:18:30
Modifier and Type | Method and Description |
---|---|
String |
getName()
返回枚举名称
|
String |
getUnitName()
该方法用于返回枚举对应的单位
|
static InformationCaseTemplet.UploadFileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InformationCaseTemplet.UploadFileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InformationCaseTemplet.UploadFileType FILE
public static final InformationCaseTemplet.UploadFileType IMAGE
public static InformationCaseTemplet.UploadFileType[] values()
for (InformationCaseTemplet.UploadFileType c : InformationCaseTemplet.UploadFileType.values()) System.out.println(c);
public static InformationCaseTemplet.UploadFileType 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 nullpublic String getName()
public String getUnitName()
Copyright © 2024. All rights reserved.