public enum RoundingMethod extends java.lang.Enum<RoundingMethod> implements ICRMLookupEnum
Enum Constant and Description |
---|
ROUND_DOWN |
ROUND_HALF_UP |
ROUND_UP |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
static RoundingMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RoundingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoundingMethod ROUND_UP
public static final RoundingMethod ROUND_DOWN
public static final RoundingMethod ROUND_HALF_UP
public static RoundingMethod[] values()
for (RoundingMethod c : RoundingMethod.values()) System.out.println(c);
public static RoundingMethod 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 getLabel()
getLabel
in interface ICRMLookupEnum