@Embedded(onEmpty=USE_EMPTY) @Documented @Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) @Nonnull(when=NEVER) public static @interface Embedded.Empty
@Embedded.Empty private Address address;as alternative to the more verbose
@Embedded(onEmpty = USE_EMPTY) @javax.annotation.Nonnull(when = When.NEVER) private Address address;
Embedded.onEmpty()
@AliasFor(annotation=Embedded.class, attribute="prefix") public abstract String prefix
String
by default.@AliasFor(annotation=Embedded.class, attribute="prefix") public abstract String value
String
by default.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.