Package org.seedstack.business.domain
Annotation Type DomainValueObject
-
@Documented @Retention(RUNTIME) @Target({TYPE,ANNOTATION_TYPE}) public @interface DomainValueObject
Marks a type as a value object. This is the minimal element to apply on a class to make the business framework recognize it as a value object.For better semantics it is recommended to use the
ValueObjectinterface which is already annotated withDomainValueObject.- See Also:
DomainValueObject