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

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

public class GridTimeUnit
extends java.lang.Object
implements java.io.Serializable

Class GridTimeUnit.

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

Field Summary
static GridTimeUnit DAY
          The instance of the DAY type
static int DAY_TYPE
          The DAY type
static GridTimeUnit HOUR
          The instance of the HOUR type
static int HOUR_TYPE
          The HOUR type
static GridTimeUnit MINUTE
          The instance of the MINUTE type
static int MINUTE_TYPE
          The MINUTE type
static GridTimeUnit MONTH
          The instance of the MONTH type
static int MONTH_TYPE
          The MONTH type
static GridTimeUnit SECOND
          The instance of the SECOND type
static int SECOND_TYPE
          The SECOND type
static GridTimeUnit WEEK
          The instance of the WEEK type
static int WEEK_TYPE
          The WEEK type
static GridTimeUnit YEAR
          The instance of the YEAR type
static int YEAR_TYPE
          The YEAR type
 
Method Summary
static java.util.Enumeration enumerate()
          Method enumerate Returns an enumeration of all possible instances of GridTimeUnit
 int getType()
          Method getType Returns the type of this GridTimeUnit
 java.lang.String toString()
          Method toString Returns the String representation of this GridTimeUnit
static GridTimeUnit valueOf(java.lang.String string)
          Method valueOf Returns a new GridTimeUnit 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

SECOND_TYPE

public static final int SECOND_TYPE
The SECOND type

See Also:
Constant Field Values

SECOND

public static final GridTimeUnit SECOND
The instance of the SECOND type


MINUTE_TYPE

public static final int MINUTE_TYPE
The MINUTE type

See Also:
Constant Field Values

MINUTE

public static final GridTimeUnit MINUTE
The instance of the MINUTE type


HOUR_TYPE

public static final int HOUR_TYPE
The HOUR type

See Also:
Constant Field Values

HOUR

public static final GridTimeUnit HOUR
The instance of the HOUR type


DAY_TYPE

public static final int DAY_TYPE
The DAY type

See Also:
Constant Field Values

DAY

public static final GridTimeUnit DAY
The instance of the DAY type


WEEK_TYPE

public static final int WEEK_TYPE
The WEEK type

See Also:
Constant Field Values

WEEK

public static final GridTimeUnit WEEK
The instance of the WEEK type


MONTH_TYPE

public static final int MONTH_TYPE
The MONTH type

See Also:
Constant Field Values

MONTH

public static final GridTimeUnit MONTH
The instance of the MONTH type


YEAR_TYPE

public static final int YEAR_TYPE
The YEAR type

See Also:
Constant Field Values

YEAR

public static final GridTimeUnit YEAR
The instance of the YEAR type

Method Detail

enumerate

public static java.util.Enumeration enumerate()
Method enumerate Returns an enumeration of all possible instances of GridTimeUnit

Returns:
Enumeration

getType

public int getType()
Method getType Returns the type of this GridTimeUnit

Returns:
int

toString

public java.lang.String toString()
Method toString Returns the String representation of this GridTimeUnit

Overrides:
toString in class java.lang.Object
Returns:
String

valueOf

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

Parameters:
string -
Returns:
GridTimeUnit


Copyright © 2007. All Rights Reserved.