org.jcrom.annotations
Annotation Type JcrProperty


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

This annotation is used mark fields that should be mapped to JCR node properties.

Author:
Olafur Gauti Gudmundsson

Optional Element Summary
 java.lang.String name
          The name of the JCR property.
 

name

public abstract java.lang.String name
The name of the JCR property. Defaults to the name of the field being annotated.

Returns:
the name of the JCR property storing the value that the field represents
Default:
"fieldName"


Copyright © 2009. All Rights Reserved.