com.jalios.jcms.analytics.ui
Enum ReportHandler.PredefinedPeriod
java.lang.Object
java.lang.Enum<ReportHandler.PredefinedPeriod>
com.jalios.jcms.analytics.ui.ReportHandler.PredefinedPeriod
- All Implemented Interfaces:
- Serializable, Comparable<ReportHandler.PredefinedPeriod>
- Enclosing class:
- ReportHandler
public static enum ReportHandler.PredefinedPeriod
- extends Enum<ReportHandler.PredefinedPeriod>
LAST_7_DAYS
public static final ReportHandler.PredefinedPeriod LAST_7_DAYS
LAST_30_DAYS
public static final ReportHandler.PredefinedPeriod LAST_30_DAYS
LAST_3_MONTHS
public static final ReportHandler.PredefinedPeriod LAST_3_MONTHS
LAST_12_MONTHS
public static final ReportHandler.PredefinedPeriod LAST_12_MONTHS
LAST_YEAR
public static final ReportHandler.PredefinedPeriod LAST_YEAR
CURRENT_YEAR
public static final ReportHandler.PredefinedPeriod CURRENT_YEAR
values
public static ReportHandler.PredefinedPeriod[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ReportHandler.PredefinedPeriod c : ReportHandler.PredefinedPeriod.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ReportHandler.PredefinedPeriod valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getId
public String getId()
setId
public void setId(String id)
getLabel
public String getLabel()
setLabel
public void setLabel(String label)
getFromId
public static ReportHandler.PredefinedPeriod getFromId(String id)
toString
public String toString()
- Overrides:
toString
in class Enum<ReportHandler.PredefinedPeriod>
Copyright © 2001-2010 Jalios SA. All Rights Reserved.