public static enum BookDepreciationSetting.DepreciationMethodEnum extends Enum<BookDepreciationSetting.DepreciationMethodEnum>
| Enum Constant and Description |
|---|
DIMINISHINGVALUE100 |
DIMINISHINGVALUE150 |
DIMINISHINGVALUE200 |
FULLDEPRECIATION |
NODEPRECIATION |
STRAIGHTLINE |
| Modifier and Type | Method and Description |
|---|---|
static BookDepreciationSetting.DepreciationMethodEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static BookDepreciationSetting.DepreciationMethodEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BookDepreciationSetting.DepreciationMethodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BookDepreciationSetting.DepreciationMethodEnum NODEPRECIATION
public static final BookDepreciationSetting.DepreciationMethodEnum STRAIGHTLINE
public static final BookDepreciationSetting.DepreciationMethodEnum DIMINISHINGVALUE100
public static final BookDepreciationSetting.DepreciationMethodEnum DIMINISHINGVALUE150
public static final BookDepreciationSetting.DepreciationMethodEnum DIMINISHINGVALUE200
public static final BookDepreciationSetting.DepreciationMethodEnum FULLDEPRECIATION
public static BookDepreciationSetting.DepreciationMethodEnum[] values()
for (BookDepreciationSetting.DepreciationMethodEnum c : BookDepreciationSetting.DepreciationMethodEnum.values()) System.out.println(c);
public static BookDepreciationSetting.DepreciationMethodEnum 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.DepreciationMethodEnum>public static BookDepreciationSetting.DepreciationMethodEnum fromValue(String value)
Copyright © 2020. All rights reserved.