|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface SearchableCascadingAllows to define cascading annotation which will result in certain operations done on the object that holds the property to be cascaded to its referenced objects.
| Optional Element Summary | |
|---|---|
String |
accessor
The property accessor that will be fetch and write the property value. |
Cascade[] |
cascade
The operations that will cascade to the target association. |
String |
converter
The conveter lookup name that will convert the PlainCascadeMapping. |
public abstract String converter
PlainCascadeMapping.
Defaults to compass own intenral PlainCascadeMappingConverter.
public abstract String accessor
It is automatically set based on where the annotation is used, but can be explicitly set. Compass also supports custom property accessors, registered under a custom name, which can then be used here as well.
public abstract Cascade[] cascade
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||