Enum Class DeviceAccountingService.Source
java.lang.Object
java.lang.Enum<DeviceAccountingService.Source>
org.bgerp.plugin.inventoru.service.DeviceAccountingService.Source
- All Implemented Interfaces:
Serializable, Comparable<DeviceAccountingService.Source>, Constable
- Enclosing class:
DeviceAccountingService
Who saves the unit: decides whether placing it on a store 1C keeps is allowed.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA bulk placement resolved from codes rather than typed on one card: the equipment import from a CSV file (DeviceImportService), or its scanner-driven counterpart with no file (ScanReceiptService) — both resolve many units by a business key (serial) and write them the same way, so they share this source rather than one of them silently reusingUSER.the 1C stock import — the one allowed to place units on stores 1C keepsthe device card -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DeviceAccountingService.Source[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER
the device card -
IMPORT
A bulk placement resolved from codes rather than typed on one card: the equipment import from a CSV file (DeviceImportService), or its scanner-driven counterpart with no file (ScanReceiptService) — both resolve many units by a business key (serial) and write them the same way, so they share this source rather than one of them silently reusingUSER. -
ONEC
the 1C stock import — the one allowed to place units on stores 1C keeps
-
-
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
-