public static enum DJPConstants.CalcApplyTo extends java.lang.Enum<DJPConstants.CalcApplyTo>
Modifier and Type | Method and Description |
---|---|
static DJPConstants.CalcApplyTo |
fromStringTo(java.lang.String val) |
java.lang.String |
toString() |
static DJPConstants.CalcApplyTo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DJPConstants.CalcApplyTo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DJPConstants.CalcApplyTo QUANTITY
public static final DJPConstants.CalcApplyTo HOURS
public static final DJPConstants.CalcApplyTo BOTH
public static DJPConstants.CalcApplyTo[] values()
for (DJPConstants.CalcApplyTo c : DJPConstants.CalcApplyTo.values()) System.out.println(c);
public static DJPConstants.CalcApplyTo 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 toString()
toString
in class java.lang.Enum<DJPConstants.CalcApplyTo>
public static DJPConstants.CalcApplyTo fromStringTo(java.lang.String val)