org.chromattic.core.mapper.onetoone.hierarchical
Class JCRNamedChildParentPropertyMapper

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.onetoone.hierarchical.JCRNamedChildParentPropertyMapper
All Implemented Interfaces:
MethodInvoker

public class JCRNamedChildParentPropertyMapper
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
JCRNamedChildParentPropertyMapper(SingleValuedPropertyInfo<BeanValueInfo> info, String nodeName)
           
 
Method Summary
 Object get(ObjectContext ctx)
           
 String getNodeName()
           
 void set(ObjectContext context, Object child)
           
 
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

JCRNamedChildParentPropertyMapper

public JCRNamedChildParentPropertyMapper(SingleValuedPropertyInfo<BeanValueInfo> info,
                                         String nodeName)
                                  throws ClassNotFoundException
Throws:
ClassNotFoundException
Method Detail

getNodeName

public String getNodeName()

get

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

set

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


Copyright © 2009 eXo Platform SAS. All Rights Reserved.