public static enum ScheduleEvaluateCmd.UnitOfMeasure extends java.lang.Enum<ScheduleEvaluateCmd.UnitOfMeasure>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright field.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCalendarField()
This method returns the calendar field associated with the unit of
measure.
|
java.lang.String |
getName()
This method returns the name of the unit
|
java.lang.String |
getQuantityUnitId()
This method the quantity unit ID in the
QTYUNITTYPE
table. |
static ScheduleEvaluateCmd.UnitOfMeasure |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScheduleEvaluateCmd.UnitOfMeasure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScheduleEvaluateCmd.UnitOfMeasure Years
public static final ScheduleEvaluateCmd.UnitOfMeasure Months
public static final ScheduleEvaluateCmd.UnitOfMeasure Weeks
public static final ScheduleEvaluateCmd.UnitOfMeasure Days
public static final ScheduleEvaluateCmd.UnitOfMeasure Hours
public static final java.lang.String COPYRIGHT
public static ScheduleEvaluateCmd.UnitOfMeasure[] values()
for (ScheduleEvaluateCmd.UnitOfMeasure c : ScheduleEvaluateCmd.UnitOfMeasure.values()) System.out.println(c);
public static ScheduleEvaluateCmd.UnitOfMeasure 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.Integer getCalendarField()
public java.lang.String getName()
public java.lang.String getQuantityUnitId()
QTYUNITTYPE
table.