org.jcrom.annotations
Annotation Type JcrParentNode


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface JcrParentNode

This annotation is added to fields that implement JcrEntity, and are a reference to a parent object. Such fields are ignored when mapping to a JCR node, but when loading an object from a node, then field annotated with @JcrParentNode will be populated with the mapped parent object (if it was mapped).

Author:
Olafur Gauti Gudmundsson



Copyright © 2009. All Rights Reserved.