IdCapable
Base interface for entities that possess a unique identifier.
This is the fundamental interface for identity management in the Wow framework's domain model. Any entity or aggregate that requires a unique identifier within the system should implement this interface to provide a standardized way of accessing its identity.
The type parameter ID allows for flexible identity types, supporting various identification strategies from simple string UUIDs to complex composite identifiers.
Type Alias
For common string-based identifiers, use the pre-defined type alias:
typealias StringIdCapable = IdCapable<String>Since
1.0.0
Parameters
The type of the identifier. Common implementations include String (UUID-based), Long (sequence-based), or custom composite types for complex scenarios.
See also
for aggregate-level identity with additional metadata
for named aggregate identity