public enum EnumCM_UnitsOfMeasure extends java.lang.Enum<EnumCM_UnitsOfMeasure>
| Enum Constant and Description |
|---|
DAY |
HOUR |
MINUTE |
MONTH |
NO_UNITS |
WEEK |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
This function returns the String value of this enum.
|
static EnumCM_UnitsOfMeasure |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumCM_UnitsOfMeasure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumCM_UnitsOfMeasure YEAR
public static final EnumCM_UnitsOfMeasure MONTH
public static final EnumCM_UnitsOfMeasure WEEK
public static final EnumCM_UnitsOfMeasure DAY
public static final EnumCM_UnitsOfMeasure HOUR
public static final EnumCM_UnitsOfMeasure MINUTE
public static final EnumCM_UnitsOfMeasure NO_UNITS
public static EnumCM_UnitsOfMeasure[] values()
for (EnumCM_UnitsOfMeasure c : EnumCM_UnitsOfMeasure.values()) System.out.println(c);
public static EnumCM_UnitsOfMeasure valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()