@Embeddable public class InventoryItemIdentifier extends SalespointIdentifier
InventoryItemIdentifier
serves as an identifier type for InventoryItem
objects. The main reason for
its existence is type safety for identifier across the Salespoint Framework. InventoryItemIdentifier
instances serve as primary key attribute in InventoryItem
, but can also be
used as a key for non-persistent, Map
-based implementations.Constructor and Description |
---|
InventoryItemIdentifier()
Creates a new unique identifier for
InventoryItem s. |
InventoryItemIdentifier(String inventoryItemIdentifier)
Only needed for property editor, shouldn't be used otherwise.
|
InventoryItemIdentifier()
InventoryItem
s.InventoryItemIdentifier(String inventoryItemIdentifier)
inventoryItemIdentifier
- The string representation of the identifier.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.