Annotation Type ValueObject


  • @Retention(RUNTIME)
    @Target(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.
    See Also:
    Domain-Driven Design Reference (Evans) - Value objects