|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueObject<T>
A value object, as described in the DDD book.
Method Summary | |
---|---|
boolean |
sameValueAs(T other)
Value objects compare by the values of their attributes, they don't have an identity. |
Method Detail |
---|
boolean sameValueAs(T other)
other
- The other value object.
true
if the given value object's and this value object's attributes are the same.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |