org.chromattic.core.mapper.onetomany.reference
Class JCRNamedReferentPropertyMapper

java.lang.Object
  extended by org.chromattic.core.mapper.PropertyMapper<P>
      extended by org.chromattic.core.mapper.RelatedPropertyMapper<SingleValuedPropertyInfo<BeanValueInfo>>
          extended by org.chromattic.core.mapper.JCRNodePropertyMapper
              extended by org.chromattic.core.mapper.onetomany.reference.JCRNamedReferentPropertyMapper
All Implemented Interfaces:
MethodInvoker

public class JCRNamedReferentPropertyMapper
extends JCRNodePropertyMapper

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
info
 
Constructor Summary
JCRNamedReferentPropertyMapper(SingleValuedPropertyInfo<BeanValueInfo> info, String propertyName, LinkType linkType)
           
 
Method Summary
 Object get(ObjectContext context)
           
 void set(ObjectContext ctx, Object value)
           
 
Methods inherited from class org.chromattic.core.mapper.JCRNodePropertyMapper
getRelatedClass
 
Methods inherited from class org.chromattic.core.mapper.RelatedPropertyMapper
getRelatedTypes, toString
 
Methods inherited from class org.chromattic.core.mapper.PropertyMapper
getInfo, invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JCRNamedReferentPropertyMapper

public JCRNamedReferentPropertyMapper(SingleValuedPropertyInfo<BeanValueInfo> info,
                                      String propertyName,
                                      LinkType linkType)
                               throws ClassNotFoundException
Throws:
ClassNotFoundException
Method Detail

get

public Object get(ObjectContext context)
           throws Throwable
Overrides:
get in class PropertyMapper<SingleValuedPropertyInfo<BeanValueInfo>>
Throws:
Throwable

set

public void set(ObjectContext ctx,
                Object value)
         throws Throwable
Overrides:
set in class PropertyMapper<SingleValuedPropertyInfo<BeanValueInfo>>
Throws:
Throwable


Copyright © 2009 eXo Platform SAS. All Rights Reserved.