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

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

There is a newer version: 8.1.1
Show newest version
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;

/**
 * Marks a boolean property on a @Draftable bean that only exists on the 'draft' table
 * and is used to detect when a draft has unpublished changes.
 * 

* This property will automatically have it's value set to true when a draft is saved and * automatically have it's value set to false when the bean is published. *

*/ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface DraftDirty { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy