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