@Embeddable public final class UserAccountIdentifier extends SalespointIdentifier
UserAccountIdentifier
serves as an identifier type for UserAccount
objects. The main reason for its
existence is type safety for identifier across the Salespoint Framework. UserAccountIdentifier
instances serve as primary key attribute in UserAccount
, but can also be used
as a key for non-persistent, Map
-based implementations.Constructor and Description |
---|
UserAccountIdentifier()
Creates a new unique identifier for
UserAccount s. |
UserAccountIdentifier(String userIdentifier)
Creates a new identifier for
UserAccount s. |
UserAccountIdentifier()
UserAccount
s.UserAccountIdentifier(String userIdentifier)
UserAccount
s. This self defined identifier is not guaranteed to be unique. But
you can provide a human readable value.userIdentifier
- The value of this identifier. Will not be checked to be unique.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.