public static enum BookDepreciationSetting.DepreciationCalculationMethodEnum extends Enum<BookDepreciationSetting.DepreciationCalculationMethodEnum>
| Modifier and Type | Method and Description |
|---|---|
static BookDepreciationSetting.DepreciationCalculationMethodEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static BookDepreciationSetting.DepreciationCalculationMethodEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BookDepreciationSetting.DepreciationCalculationMethodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BookDepreciationSetting.DepreciationCalculationMethodEnum RATE
public static final BookDepreciationSetting.DepreciationCalculationMethodEnum LIFE
public static final BookDepreciationSetting.DepreciationCalculationMethodEnum NONE
public static BookDepreciationSetting.DepreciationCalculationMethodEnum[] values()
for (BookDepreciationSetting.DepreciationCalculationMethodEnum c : BookDepreciationSetting.DepreciationCalculationMethodEnum.values()) System.out.println(c);
public static BookDepreciationSetting.DepreciationCalculationMethodEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<BookDepreciationSetting.DepreciationCalculationMethodEnum>public static BookDepreciationSetting.DepreciationCalculationMethodEnum fromValue(String value)
Copyright © 2020. All rights reserved.