Interface DomainEntity<T,ID extends Serializable>
- Type Parameters:
T
- the type of entityID
- the type of object used to identify the entity
- All Superinterfaces:
DomainObject<T>
A domain-driven design entity, i.e., an object that is not defined by its attributes,
but rather by a thread of continuity and its identity.
- Author:
- RealLifeDeveloper
-
Method Summary
-
Method Details
-
id
ID id()Gives the identity of this entity.- Returns:
- the identity
-