Annotation Interface Embedded.Empty
- Enclosing class:
Embedded
@Embedded(onEmpty=USE_EMPTY)
@Documented
@Retention(RUNTIME)
@Target({FIELD,METHOD})
@NonNull
public static @interface Embedded.Empty
Shortcut for an empty embedded property.
@Embedded.Empty private Address address;as alternative to the more verbose
@Embedded(onEmpty = USE_EMPTY) @javax.annotation.Nonnull(when = When.NEVER) private Address address;
- Since:
- 3.0
- Author:
- Christoph Strobl
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
prefix
-
value
-