All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avaje.ebean.annotation.SoftDelete Maven / Gradle / Ivy

package com.avaje.ebean.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 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. *

*
{@code
 *
 * @SoftDelete
 * boolean deleted;
 *
 * }
*/ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface SoftDelete { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy