@Embedded(onEmpty=USE_NULL) @Documented @Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) @Nonnull(when=MAYBE) public static @interface Embedded.Nullable
@Embedded.Nullable private Address address;as alternative to the more verbose
@Embedded(onEmpty = USE_NULL) @javax.annotation.Nonnull(when = When.MAYBE) 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.