org.chromattic.core.mapper.onetomany.reference
Class JCRNamedReferentPropertyMapper<O extends ObjectContext>

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

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

Constructor Detail

JCRNamedReferentPropertyMapper

public JCRNamedReferentPropertyMapper(java.lang.Class<O> contextType,
                                      SingleValuedPropertyInfo<BeanValueInfo> info,
                                      java.lang.String propertyName,
                                      LinkType linkType)
                               throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException
Method Detail

get

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

set

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


Copyright © 2011 eXo Platform SAS. All Rights Reserved.