public enum ReportOutputType extends java.lang.Enum<ReportOutputType> implements com.haulmont.chile.core.datatypes.impl.EnumClass<java.lang.Integer>
Enum Constant and Description |
---|
CHART |
CSV |
CUSTOM |
DOC |
DOCX |
HTML |
PDF |
PIVOT_TABLE |
TABLE |
XLS |
XLSX |
Modifier and Type | Method and Description |
---|---|
static ReportOutputType |
fromId(java.lang.Integer id) |
java.lang.Integer |
getId() |
com.haulmont.yarg.structure.ReportOutputType |
getOutputType() |
static ReportOutputType |
getTypeFromExtension(java.lang.String extension) |
static ReportOutputType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReportOutputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportOutputType XLS
public static final ReportOutputType DOC
public static final ReportOutputType PDF
public static final ReportOutputType HTML
public static final ReportOutputType DOCX
public static final ReportOutputType XLSX
public static final ReportOutputType CUSTOM
public static final ReportOutputType CHART
public static final ReportOutputType CSV
public static final ReportOutputType TABLE
public static final ReportOutputType PIVOT_TABLE
public static ReportOutputType[] values()
for (ReportOutputType c : ReportOutputType.values()) System.out.println(c);
public static ReportOutputType 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 java.lang.Integer getId()
getId
in interface com.haulmont.chile.core.datatypes.impl.EnumClass<java.lang.Integer>
public com.haulmont.yarg.structure.ReportOutputType getOutputType()
public static ReportOutputType fromId(java.lang.Integer id)
@Nullable public static ReportOutputType getTypeFromExtension(java.lang.String extension)