|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueObject<T>
A value object.
Method Summary | |
---|---|
T |
copy()
Value objects can be freely copied. |
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.T copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |