org.apache.jackrabbit.ocm.mapper.impl.annotation
Annotation Type Field
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface Field
Allows the annotation of a getter method to show that it will be mapped to a JCR property
- Author:
- Philip Dodds
jcrName
public abstract String jcrName
- Default:
- ""
id
public abstract boolean id
- Default:
- false
path
public abstract boolean path
- Default:
- false
uuid
public abstract boolean uuid
- Default:
- false
converter
public abstract Class converter
- Default:
- java.lang.Object.class
jcrDefaultValue
public abstract String jcrDefaultValue
- Default:
- ""
jcrValueConstraints
public abstract String jcrValueConstraints
- Default:
- ""
jcrType
public abstract String jcrType
- Default:
- ""
jcrAutoCreated
public abstract boolean jcrAutoCreated
- Default:
- false
jcrMandatory
public abstract boolean jcrMandatory
- Default:
- false
jcrOnParentVersion
public abstract String jcrOnParentVersion
- Default:
- "COPY"
jcrProtected
public abstract boolean jcrProtected
- Default:
- false
jcrMultiple
public abstract boolean jcrMultiple
- Default:
- false
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.