|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Entity<T,ID>
An entity, as explained in the DDD book.
Method Summary | |
---|---|
ID |
identity()
Entities have an identity. |
boolean |
sameIdentityAs(T other)
Entities compare by identity, not by attributes. |
Method Detail |
---|
boolean sameIdentityAs(T other)
other
- The other entity.
ID identity()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |