|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Name
Annotates a bean property to map it against the current name of the related jcr node.
Status.TRANSIENT the name is saved along with the entity
until it is persisted. When the entity is persisted, the name is used when no additional name is provided.Status.PERSISTENT the name is associated with the current JCR
node name. A property read returns the current node name and a property write performs a JCR move operation to
rename the entity with the new name.Status.REMOVED any property access throws an
IllegalStateException.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||