org.compiere.apps.search
Enum VSchedule.Period
java.lang.Object
java.lang.Enum<VSchedule.Period>
org.compiere.apps.search.VSchedule.Period
- All Implemented Interfaces:
- Serializable, Comparable<VSchedule.Period>
- Enclosing class:
- VSchedule
public static enum VSchedule.Period
- extends Enum<VSchedule.Period>
Period of time the schedule represents.
DAY
public static final VSchedule.Period DAY
WEEK
public static final VSchedule.Period WEEK
MONTH
public static final VSchedule.Period MONTH
values
public static VSchedule.Period[] 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 (VSchedule.Period c : VSchedule.Period.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static VSchedule.Period 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
type
public int type()
- Returns:
Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.