Package com.blazebit.persistence.view
Annotation Type PostConvert
@Target(METHOD) @Retention(RUNTIME) public @interface PostConvert
Annotation to mark a method to be executed after a call to
EntityViewManager.convert(Object, Class, ConvertOption...)
.
A method annotated with @PostConvert
must define no or a single parameter for the source entity view of type Object.
A method annotated with @PostConvert
may optionally have the following parameters
- An
EntityViewManager
- A Object for the source entity view object
@PostConvert
and it must return void
.
Super type methods annotated with @PostConvert
are ignored if an entity view defines a @PostConvert
method.- Since:
- 1.4.0
- Author:
- Christian Beikov