Package org.gbif.api.annotation
Annotation Type EmptyToNull
-
@Retention(RUNTIME) @Target({PARAMETER,METHOD}) @Inherited public @interface EmptyToNull
Indicates that the field is suitable to convert empty strings into null. To use this annotate the method with EmptyToNull. The field must be:- A mutable POJO with getters and setters