org.chorem.jtimer.ui.report
Enum ReportGenerator.Type

java.lang.Object
  extended by java.lang.Enum<ReportGenerator.Type>
      extended by org.chorem.jtimer.ui.report.ReportGenerator.Type
All Implemented Interfaces:
Serializable, Comparable<ReportGenerator.Type>
Enclosing class:
ReportGenerator

public static enum ReportGenerator.Type
extends Enum<ReportGenerator.Type>

Report type


Enum Constant Summary
BY_DAY_REPORT
           
BY_MONTH_REPORT
           
BY_PROJECT_REPORT
           
BY_WEEK_REPORT
           
BY_YEAR_REPORT
           
 
Method Summary
static ReportGenerator.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReportGenerator.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BY_DAY_REPORT

public static final ReportGenerator.Type BY_DAY_REPORT

BY_WEEK_REPORT

public static final ReportGenerator.Type BY_WEEK_REPORT

BY_MONTH_REPORT

public static final ReportGenerator.Type BY_MONTH_REPORT

BY_YEAR_REPORT

public static final ReportGenerator.Type BY_YEAR_REPORT

BY_PROJECT_REPORT

public static final ReportGenerator.Type BY_PROJECT_REPORT
Method Detail

values

public static ReportGenerator.Type[] 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 (ReportGenerator.Type c : ReportGenerator.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ReportGenerator.Type 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


Copyright © 2007-2009 CodeLutin. All Rights Reserved.