Package com.avoka.fc.core.entity
Enum Class BillableValues
- All Implemented Interfaces:
Serializable
,Comparable<BillableValues>
,Constable
,org.apache.cayenne.ExtendedEnumeration
public enum BillableValues
extends Enum<BillableValues>
implements org.apache.cayenne.ExtendedEnumeration
Provides enum billable values for setting a transaction
- Since:
- 22.10
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the list of string of enum billable values.static BillableValues
getEntityBillableValue
(String billableValue) Return a respective enum billable value for respective string value.static BillableValues
Returns the enum constant of this class with the specified name.static BillableValues[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BILLABLE
-
NON_BILLABLE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getDatabaseValue
- Specified by:
getDatabaseValue
in interfaceorg.apache.cayenne.ExtendedEnumeration
-
getBillableValues
Return the list of string of enum billable values.- Returns:
- billableValues the list
-
getEntityBillableValue
Return a respective enum billable value for respective string value.- Returns:
- the enum billable value
-