public enum FeeType extends Enum<FeeType> implements AbstractEnumeration
Enum Constant and Description |
---|
ADMINISTRATIVE |
COMPUTER_ACCESS_CHARGE |
DAMAGE |
HOLD_FEE |
OTHER |
OVERDUE |
PROCESSING |
RENTAL |
REPLACEMENT |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
AbstractEnumeration |
getKey(String code) |
String |
toString() |
static FeeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeeType OTHER
public static final FeeType ADMINISTRATIVE
public static final FeeType DAMAGE
public static final FeeType OVERDUE
public static final FeeType PROCESSING
public static final FeeType RENTAL
public static final FeeType REPLACEMENT
public static final FeeType COMPUTER_ACCESS_CHARGE
public static final FeeType HOLD_FEE
public static FeeType[] values()
for (FeeType c : FeeType.values()) System.out.println(c);
public static FeeType 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 toString()
toString
in interface AbstractEnumeration
toString
in class Enum<FeeType>
public final String getCode()
getCode
in interface AbstractEnumeration
public final AbstractEnumeration getKey(String code)
getKey
in interface AbstractEnumeration
Copyright © 2004–2019 Ceridwen Limited. All rights reserved.