org.apache.jackrabbit.ocm.mapper.impl.annotation
Annotation Type Node


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Node

Allows for the annotation of a Java class so mapping through OCM to a JCR node

Author:
Philip Dodds

Optional Element Summary
 boolean discriminator
           
 Class extend
           
 boolean isAbstract
           
 boolean isInterface
           
 String jcrMixinTypes
           
 String jcrSuperTypes
           
 String jcrType
           
 

jcrType

public abstract String jcrType
Default:
"nt:unstructured"

jcrSuperTypes

public abstract String jcrSuperTypes
Default:
""

jcrMixinTypes

public abstract String jcrMixinTypes
Default:
""

extend

public abstract Class extend
Default:
java.lang.Object.class

isAbstract

public abstract boolean isAbstract
Default:
false

isInterface

public abstract boolean isInterface
Default:
false

discriminator

public abstract boolean discriminator
Default:
true


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.