Class InventoryItem.InventoryItemIdentifier

java.lang.Object
org.salespointframework.inventory.InventoryItem.InventoryItemIdentifier
All Implemented Interfaces:
Serializable, org.jmolecules.ddd.types.Identifier
Enclosing class:
InventoryItem<T extends InventoryItem<T>>

@Embeddable public static class InventoryItem.InventoryItemIdentifier extends Object implements org.jmolecules.ddd.types.Identifier, Serializable
InventoryItemIdentifier serves as an identifier type for UniqueInventoryItem objects. The main reason for its existence is type safety for identifier across the Salespoint Framework.
InventoryItemIdentifier instances serve as primary key attribute in UniqueInventoryItem, but can also be used as a key for non-persistent, Map-based implementations.
Author:
Paul Henke, Oliver Gierke
See Also: