org.chromattic.core.mapper.onetomany.hierarchical
Class JCRAnyChildParentPropertyMapper<O extends ObjectContext>

java.lang.Object
  extended by org.chromattic.core.mapper.PropertyMapper<P,C>
      extended by org.chromattic.core.mapper.RelatedPropertyMapper<MultiValuedPropertyInfo<BeanValueInfo>,O>
          extended by org.chromattic.core.mapper.JCRNodeCollectionPropertyMapper<O>
              extended by org.chromattic.core.mapper.onetomany.hierarchical.JCRAnyChildParentPropertyMapper<O>
All Implemented Interfaces:
MethodInvoker<O>

public class JCRAnyChildParentPropertyMapper<O extends ObjectContext>
extends JCRNodeCollectionPropertyMapper<O>

Version:
$Revision$
Author:
Julien Viet

Field Summary
 
Fields inherited from class org.chromattic.core.mapper.RelatedPropertyMapper
relatedTypes
 
Fields inherited from class org.chromattic.core.mapper.PropertyMapper
contextType, info
 
Constructor Summary
JCRAnyChildParentPropertyMapper(Class<O> contextType, MultiValuedPropertyInfo<BeanValueInfo> info, AnyChildMultiValueMapper valueMapper)
           
 
Method Summary
 Object get(O context)
           
 
Methods inherited from class org.chromattic.core.mapper.JCRNodeCollectionPropertyMapper
getRelatedClass
 
Methods inherited from class org.chromattic.core.mapper.RelatedPropertyMapper
toString
 
Methods inherited from class org.chromattic.core.mapper.PropertyMapper
getInfo, getType, invoke, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JCRAnyChildParentPropertyMapper

public JCRAnyChildParentPropertyMapper(Class<O> contextType,
                                       MultiValuedPropertyInfo<BeanValueInfo> info,
                                       AnyChildMultiValueMapper valueMapper)
                                throws ClassNotFoundException
Throws:
ClassNotFoundException
Method Detail

get

public Object get(O context)
           throws Throwable
Overrides:
get in class PropertyMapper<MultiValuedPropertyInfo<BeanValueInfo>,O extends ObjectContext>
Throws:
Throwable


Copyright © 2010 eXo Platform SAS. All Rights Reserved.