org.apache.jackrabbit.ocm.mapper.impl.annotation
Annotation Type Collection
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface Collection
Allows the annotation of getting methods to show that they reflect a child node in JCR
- Author:
- Philip Dodds
jcrName
public abstract String jcrName
- Default:
- ""
proxy
public abstract boolean proxy
- Default:
- false
autoRetrieve
public abstract boolean autoRetrieve
- Default:
- true
autoUpdate
public abstract boolean autoUpdate
- Default:
- true
autoInsert
public abstract boolean autoInsert
- Default:
- true
elementClassName
public abstract Class elementClassName
- Default:
- java.lang.Object.class
jcrElementName
public abstract String jcrElementName
- Default:
- "collection-element"
collectionConverter
public abstract Class collectionConverter
- Default:
- org.apache.jackrabbit.ocm.manager.collectionconverter.impl.DefaultCollectionConverterImpl.class
collectionClassName
public abstract Class collectionClassName
- Default:
- java.lang.Object.class
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
jcrSameNameSiblings
public abstract boolean jcrSameNameSiblings
- Default:
- false
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.