Class Order.OrderIdentifier

java.lang.Object
org.salespointframework.order.Order.OrderIdentifier
All Implemented Interfaces:
Serializable, org.jmolecules.ddd.types.Identifier
Enclosing class:
Order

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