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

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

public class GridTimeUnit
extends Object
implements 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 Enumeration<Object> enumerate()
          Method enumerate.Returns an enumeration of all possible instances of GridTimeUnit
 int getType()
          Method getType.Returns the type of this GridTimeUnit
 String toString()
          Method toString.Returns the String representation of this GridTimeUnit
static GridTimeUnit valueOf(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 Enumeration<Object> enumerate()
Method enumerate.Returns an enumeration of all possible instances of GridTimeUnit

Returns:
an Enumeration over all possible instances of GridTimeUnit

getType

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

Returns:
the type of this GridTimeUnit

toString

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

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

valueOf

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

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


Copyright © 2009. All Rights Reserved.