@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
public @interface ValueObject
Identifies a value object. Domain concepts that are modeled as value objects have no conceptual identity or
lifecycle. Implementations should be immutable, operations on it are side-effect free.
- Author:
- Christian Stettler, Henning Schwendtner, Stephan Pirnbaum, Martin Schimak, Oliver Drotbohm
- See Also:
- Domain-Driven Design
Reference (Evans) - Value objects