public enum CmsReportFormatType extends java.lang.Enum<CmsReportFormatType>
| Enum Constant and Description |
|---|
fmtDefault
Default format.
|
fmtError
Error format.
|
fmtException
Exception format.
|
fmtHeadline
Headline format.
|
fmtNewline
Newline format.
|
fmtNote
Note format.
|
fmtOk
'OK' format.
|
fmtWarning
Warning format.
|
| Modifier and Type | Method and Description |
|---|---|
static CmsReportFormatType |
byId(int id)
Gets the format enum by its id.
|
static CmsReportFormatType |
byName(java.lang.String name)
Gets the format enum by its format naem.
|
int |
getFormatId()
Gets the format id.
|
java.lang.String |
getFormatName()
Gets the format name.
|
static CmsReportFormatType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmsReportFormatType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmsReportFormatType fmtDefault
public static final CmsReportFormatType fmtError
public static final CmsReportFormatType fmtException
public static final CmsReportFormatType fmtHeadline
public static final CmsReportFormatType fmtNewline
public static final CmsReportFormatType fmtNote
public static final CmsReportFormatType fmtOk
public static final CmsReportFormatType fmtWarning
public static CmsReportFormatType[] values()
for (CmsReportFormatType c : CmsReportFormatType.values()) System.out.println(c);
public static CmsReportFormatType 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 CmsReportFormatType byId(int id)
id - the format idpublic static CmsReportFormatType byName(java.lang.String name)
name - the format namepublic int getFormatId()
public java.lang.String getFormatName()