|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface JcrReference
This annotation is used to mark fields that are to be mapped as JCR reference properties.
| Optional Element Summary | |
|---|---|
boolean |
byPath
Setting this to true will store the reference as the path to the referenced entity in a normal String property, rather than a reference property. |
boolean |
lazy
Setting this to true will turn on lazy loading for this field. |
java.lang.String |
name
The name of the JCR reference property. |
public abstract java.lang.String name
public abstract boolean lazy
public abstract boolean byPath
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||