org.rhq.core.domain.measurement
Enum MeasurementUnits.Scale
java.lang.Object
java.lang.Enum<MeasurementUnits.Scale>
org.rhq.core.domain.measurement.MeasurementUnits.Scale
- All Implemented Interfaces:
- Serializable, Comparable<MeasurementUnits.Scale>
- Enclosing class:
- MeasurementUnits
public static enum MeasurementUnits.Scale
- extends Enum<MeasurementUnits.Scale>
CENTI
public static final MeasurementUnits.Scale CENTI
ONE
public static final MeasurementUnits.Scale ONE
HECTO
public static final MeasurementUnits.Scale HECTO
KILO
public static final MeasurementUnits.Scale KILO
MEGA
public static final MeasurementUnits.Scale MEGA
GIGA
public static final MeasurementUnits.Scale GIGA
TERA
public static final MeasurementUnits.Scale TERA
PETA
public static final MeasurementUnits.Scale PETA
JIFFY
public static final MeasurementUnits.Scale JIFFY
NANO
public static final MeasurementUnits.Scale NANO
MICRO
public static final MeasurementUnits.Scale MICRO
MILLI
public static final MeasurementUnits.Scale MILLI
SEC
public static final MeasurementUnits.Scale SEC
MIN
public static final MeasurementUnits.Scale MIN
HOUR
public static final MeasurementUnits.Scale HOUR
DAY
public static final MeasurementUnits.Scale DAY
WEEK
public static final MeasurementUnits.Scale WEEK
YEAR
public static final MeasurementUnits.Scale YEAR
values
public static MeasurementUnits.Scale[] 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 (MeasurementUnits.Scale c : MeasurementUnits.Scale.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MeasurementUnits.Scale 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
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.