org.opennms.netmgt.config.rrd.types
Class DayOfWeek

java.lang.Object
  extended by org.opennms.netmgt.config.rrd.types.DayOfWeek
All Implemented Interfaces:
Serializable

public class DayOfWeek
extends Object
implements Serializable

Class DayOfWeek.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
static DayOfWeek FRIDAY
          The instance of the FRIDAY type
static int FRIDAY_TYPE
          The FRIDAY type
static DayOfWeek MONDAY
          The instance of the MONDAY type
static int MONDAY_TYPE
          The MONDAY type
static DayOfWeek SATURDAY
          The instance of the SATURDAY type
static int SATURDAY_TYPE
          The SATURDAY type
static DayOfWeek SUNDAY
          The instance of the SUNDAY type
static int SUNDAY_TYPE
          The SUNDAY type
static DayOfWeek THURSDAY
          The instance of the THURSDAY type
static int THURSDAY_TYPE
          The THURSDAY type
static DayOfWeek TUESDAY
          The instance of the TUESDAY type
static int TUESDAY_TYPE
          The TUESDAY type
static DayOfWeek WEDNESDAY
          The instance of the WEDNESDAY type
static int WEDNESDAY_TYPE
          The WEDNESDAY type
 
Method Summary
static Enumeration<Object> enumerate()
          Method enumerate.Returns an enumeration of all possible instances of DayOfWeek
 int getType()
          Method getType.Returns the type of this DayOfWeek
 String toString()
          Method toString.Returns the String representation of this DayOfWeek
static DayOfWeek valueOf(String string)
          Method valueOf.Returns a new DayOfWeek based on the given String value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MONDAY_TYPE

public static final int MONDAY_TYPE
The MONDAY type

See Also:
Constant Field Values

MONDAY

public static final DayOfWeek MONDAY
The instance of the MONDAY type


TUESDAY_TYPE

public static final int TUESDAY_TYPE
The TUESDAY type

See Also:
Constant Field Values

TUESDAY

public static final DayOfWeek TUESDAY
The instance of the TUESDAY type


WEDNESDAY_TYPE

public static final int WEDNESDAY_TYPE
The WEDNESDAY type

See Also:
Constant Field Values

WEDNESDAY

public static final DayOfWeek WEDNESDAY
The instance of the WEDNESDAY type


THURSDAY_TYPE

public static final int THURSDAY_TYPE
The THURSDAY type

See Also:
Constant Field Values

THURSDAY

public static final DayOfWeek THURSDAY
The instance of the THURSDAY type


FRIDAY_TYPE

public static final int FRIDAY_TYPE
The FRIDAY type

See Also:
Constant Field Values

FRIDAY

public static final DayOfWeek FRIDAY
The instance of the FRIDAY type


SATURDAY_TYPE

public static final int SATURDAY_TYPE
The SATURDAY type

See Also:
Constant Field Values

SATURDAY

public static final DayOfWeek SATURDAY
The instance of the SATURDAY type


SUNDAY_TYPE

public static final int SUNDAY_TYPE
The SUNDAY type

See Also:
Constant Field Values

SUNDAY

public static final DayOfWeek SUNDAY
The instance of the SUNDAY type

Method Detail

enumerate

public static Enumeration<Object> enumerate()
Method enumerate.Returns an enumeration of all possible instances of DayOfWeek

Returns:
an Enumeration over all possible instances of DayOfWeek

getType

public int getType()
Method getType.Returns the type of this DayOfWeek

Returns:
the type of this DayOfWeek

toString

public String toString()
Method toString.Returns the String representation of this DayOfWeek

Overrides:
toString in class Object
Returns:
the String representation of this DayOfWeek

valueOf

public static DayOfWeek valueOf(String string)
Method valueOf.Returns a new DayOfWeek based on the given String value.

Parameters:
string -
Returns:
the DayOfWeek value of parameter 'string'


Copyright © 2009. All Rights Reserved.