Annotation Type DraftableElement


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface DraftableElement
    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).