public enum TemplateFileType extends java.lang.Enum<TemplateFileType> implements com.haulmont.chile.core.datatypes.impl.EnumClass<java.lang.Integer>
Modifier and Type | Method and Description |
---|---|
static TemplateFileType |
fromId(java.lang.Integer id) |
java.lang.Integer |
getId() |
static TemplateFileType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TemplateFileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateFileType HTML
public static final TemplateFileType DOCX
public static final TemplateFileType XLSX
public static final TemplateFileType CHART
public static final TemplateFileType CSV
public static final TemplateFileType TABLE
public static TemplateFileType[] values()
for (TemplateFileType c : TemplateFileType.values()) System.out.println(c);
public static TemplateFileType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TemplateFileType fromId(java.lang.Integer id)
public java.lang.Integer getId()
getId
in interface com.haulmont.chile.core.datatypes.impl.EnumClass<java.lang.Integer>