|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface JcrFileNode
This annotation is used to mark fields that are to be mapped as
JCR file nodes.
It can be applied to fields whos type is a JcrFile (or extension of that), or
to a java.util.List that is parameterized with a JcrFile (or extension).
Note that JCROM creates a container node for all file nodes. The file
node is then created with the name retrieved via calling JcrEntity.getName()
on the child object.
| Optional Element Summary | |
|---|---|
boolean |
lazy
Setting this to true will turn on lazy loading for this field. |
JcrFileNode.LoadType |
loadType
Determines how to read the file when JCROM maps a JCR node to an object. |
java.lang.String |
name
The name of the JCR container node for the file node(s). |
public abstract java.lang.String name
public abstract JcrFileNode.LoadType loadType
public abstract boolean lazy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||