public static enum ReportHandler.PredefinedPeriod extends java.lang.Enum<ReportHandler.PredefinedPeriod>
| Enum Constant and Description | 
|---|
CURRENT_YEAR  | 
LAST_12_MONTHS  | 
LAST_3_MONTHS  | 
LAST_30_DAYS  | 
LAST_7_DAYS  | 
LAST_YEAR  | 
| Modifier and Type | Method and Description | 
|---|---|
static ReportHandler.PredefinedPeriod | 
getFromId(java.lang.String id)  | 
java.lang.String | 
getId()  | 
java.lang.String | 
getLabel()  | 
void | 
setId(java.lang.String id)  | 
void | 
setLabel(java.lang.String label)  | 
java.lang.String | 
toString()  | 
static ReportHandler.PredefinedPeriod | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static ReportHandler.PredefinedPeriod[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ReportHandler.PredefinedPeriod LAST_7_DAYS
public static final ReportHandler.PredefinedPeriod LAST_30_DAYS
public static final ReportHandler.PredefinedPeriod LAST_3_MONTHS
public static final ReportHandler.PredefinedPeriod LAST_12_MONTHS
public static final ReportHandler.PredefinedPeriod LAST_YEAR
public static final ReportHandler.PredefinedPeriod CURRENT_YEAR
public static ReportHandler.PredefinedPeriod[] values()
for (ReportHandler.PredefinedPeriod c : ReportHandler.PredefinedPeriod.values()) System.out.println(c);
public static ReportHandler.PredefinedPeriod 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.String getId()
public void setId(java.lang.String id)
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public static ReportHandler.PredefinedPeriod getFromId(java.lang.String id)
public java.lang.String toString()
toString in class java.lang.Enum<ReportHandler.PredefinedPeriod>Copyright © 2001-2018 Jalios SA. All Rights Reserved.