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

com.avaje.ebean.annotation.DraftableElement 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;

/**
 * Used to indicate an entity bean that has 'draftable' support but it not a 'top level'
 * (or root level) bean but instead child related to another @Draftable entity bean.
 * 

* Relationships to @DraftableElements (@OneToMany, @ManyToMany etc) are automatically * deemed to have Cascade.ALL for save and delete (as well as orphan removal mode). *

*/ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface DraftableElement { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy