Annotation Type EntityFieldRequired


  • @Retention(RUNTIME)
    @Target({METHOD,FIELD})
    public @interface EntityFieldRequired
    Marks a getter method or field as required to be non-null and non-empty for an entity, this can be used many times in a class, this is mostly for documentation purposes and has little effect on operations
    Author:
    Aaron Zeckoski (aaron@caret.cam.ac.uk)