org.hippoecm.hst.jackrabbit.ocm.manager.impl
Class HstAnnotationMapperImpl

java.lang.Object
  extended by org.apache.jackrabbit.ocm.mapper.impl.AbstractMapperImpl
      extended by org.apache.jackrabbit.ocm.mapper.impl.annotation.AnnotationMapperImpl
          extended by org.hippoecm.hst.jackrabbit.ocm.manager.impl.HstAnnotationMapperImpl
All Implemented Interfaces:
org.apache.jackrabbit.ocm.mapper.Mapper

public class HstAnnotationMapperImpl
extends org.apache.jackrabbit.ocm.mapper.impl.annotation.AnnotationMapperImpl


Field Summary
protected  String[] fallBackJcrNodeTypes
           
 
Fields inherited from class org.apache.jackrabbit.ocm.mapper.impl.AbstractMapperImpl
descriptorReader, log, mappingDescriptor, rootClassDescriptors
 
Constructor Summary
HstAnnotationMapperImpl(List<Class> annotatedClassNames)
           
HstAnnotationMapperImpl(List<Class> annotatedClassNames, String... fallBackJcrNodeTypes)
           
 
Method Summary
 org.apache.jackrabbit.ocm.mapper.model.ClassDescriptor getClassDescriptorByNodeType(String jcrNodeType)
           
 
Methods inherited from class org.apache.jackrabbit.ocm.mapper.impl.AbstractMapperImpl
buildMapper, getClassDescriptorByClass, getErrorMessage, solveReferences, validateDescriptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jackrabbit.ocm.mapper.Mapper
getClassDescriptorByClass
 

Field Detail

fallBackJcrNodeTypes

protected String[] fallBackJcrNodeTypes
Constructor Detail

HstAnnotationMapperImpl

public HstAnnotationMapperImpl(List<Class> annotatedClassNames)

HstAnnotationMapperImpl

public HstAnnotationMapperImpl(List<Class> annotatedClassNames,
                               String... fallBackJcrNodeTypes)
Method Detail

getClassDescriptorByNodeType

public org.apache.jackrabbit.ocm.mapper.model.ClassDescriptor getClassDescriptorByNodeType(String jcrNodeType)
Specified by:
getClassDescriptorByNodeType in interface org.apache.jackrabbit.ocm.mapper.Mapper
Overrides:
getClassDescriptorByNodeType in class org.apache.jackrabbit.ocm.mapper.impl.AbstractMapperImpl


Copyright © 2008-2012 Hippo. All Rights Reserved.