Annotation Type SoftDelete


@Retention(RUNTIME) @Target(FIELD) public @interface SoftDelete
Used to indicate a property on an entity bean used to control 'soft delete' (also known as 'logical delete').

The property should be of type boolean.



 @SoftDelete
 boolean deleted;