Compiere 3.1

org.compiere.apps.search
Enum VSchedule.Period

java.lang.Object
  extended by java.lang.Enum<VSchedule.Period>
      extended by 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.


Enum Constant Summary
DAY
           
MONTH
           
WEEK
           
 
Method Summary
 int type()
           
static VSchedule.Period valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VSchedule.Period[] 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

DAY

public static final VSchedule.Period DAY

WEEK

public static final VSchedule.Period WEEK

MONTH

public static final VSchedule.Period MONTH
Method Detail

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 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.