@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface DependsOnProperties
These properties are taken into account when building fetch plans and when loading/saving cross-datastore references.
Also, if the annotated property is read-only (no setter), EntityPropertyChangeEvent
is sent for this
property when the specified properties are changed.
Specify only immediate local and reference properties in the annotation.
Property paths like customer.name
are not supported.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
value |