Overview#
Value Object is an object that represents a simple
Entity whose equality is not based on identity: i.e. two value objects are equal when they have the same value, not necessarily being or belonging to the the same
Entity.
LDAP Value Object#
In
LDAP An
Attribute is a Value Object.
Programing and Value Object#
In Programing, Value Objects are typically primitives, or immutable Classes, POJOs, JavaBeans.
When people exchange dollar bills, they generally do not distinguish between each unique bill as they only are concerned about the face value of the dollar bill. In this
Context, dollar bills are
Value Objects.
However, the Federal Reserve may be concerned about each unique bill (ie Each bill has a SN); in this Context each bill would be an entity.
There might be more information for this subject on one of the following: