Enum Class DeviceAccountingService.Kind
java.lang.Object
java.lang.Enum<DeviceAccountingService.Kind>
org.bgerp.plugin.inventoru.service.DeviceAccountingService.Kind
- All Implemented Interfaces:
Serializable, Comparable<DeviceAccountingService.Kind>, Constable
- Enclosing class:
DeviceAccountingService
What saving a unit means for the balance.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionstarts being counted against a balance already there: no movementnothing — not counted before or after, or stays where it wasstarts being counted and the balance grows: a receipta counted unit changes store: a transfer -
Method Summary
Modifier and TypeMethodDescriptionbooleanisError()static DeviceAccountingService.KindReturns the enum constant of this class with the specified name.static DeviceAccountingService.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
nothing — not counted before or after, or stays where it was -
ATTACH
starts being counted against a balance already there: no movement -
RECEIPT
starts being counted and the balance grows: a receipt -
TRANSFER
a counted unit changes store: a transfer -
ERROR_DELETED
-
ERROR_NO_SERIAL
-
ERROR_DUPLICATE_SERIAL
-
ERROR_ITEM_CHANGE
-
ERROR_SERIAL_CHANGE
-
ERROR_OFF_STORE
-
ERROR_RESERVED
-
ERROR_SERIAL_MASTER
-
-
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
-
isError
public boolean isError()
-