|
|
||||
|
||||
|
|
||||
|
||||
|
|
|
|
||||
|
||||
|
|
||||
|
||||
|
|
Value Object | |
|
An object whichs identity is based on its state rather than on object identity. Usually they are small objects which used quite widely, such as numbers, dates, monetary values etc.
Value objects always need to override the equals and hashCode methods. Often they are ImmutableObjects.
Unfortunately, early J2EE patterns also used this name for what is known as the DataTransferObject in the patterns community.
Other Resources:
| |