|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Collection
Annotation for properties of collection type.
| Required Element Summary | |
|---|---|
java.lang.Class<?> |
memberType
Get type of the collection members. |
Collection.Type |
type
Get the type parameter of the annotation. |
| Optional Element Summary | |
|---|---|
boolean |
lazy
If the collection should use lazy loading. |
boolean |
reference
Specify if the non JCR-simple-types are references or child nodes. |
| Element Detail |
|---|
public abstract Collection.Type type
public abstract java.lang.Class<?> memberType
public abstract boolean lazy
true if the collection should implement lazy loading.public abstract boolean reference
true if nodes are referenced,
false if they are child nodes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||