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

com.avaje.ebean.annotation.Draft 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 indicates if the bean instance is a 'draft' or 'live' bean.
 * The property is transient and has no underlying DB column.
 * 

* For beans returned from an asDraft() query this property will be set to true. *

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy