org.chromattic.core.mapper.onetoone.hierarchical
Class JCRNamedChildParentPropertyMapper<O extends ObjectContext<O>>

java.lang.Object
  extended by org.chromattic.core.mapper.PropertyMapper<P,V,C,K>
      extended by org.chromattic.core.mapper.RelatedPropertyMapper<P,V,O,ValueKind.Single>
          extended by org.chromattic.core.mapper.JCRNodePropertyMapper<PropertyInfo<BeanValueInfo,ValueKind.Single>,BeanValueInfo,O>
              extended by org.chromattic.core.mapper.onetoone.hierarchical.JCRNamedChildParentPropertyMapper<O>

public class JCRNamedChildParentPropertyMapper<O extends ObjectContext<O>>
extends JCRNodePropertyMapper<PropertyInfo<BeanValueInfo,ValueKind.Single>,BeanValueInfo,O>

Version:
$Revision$
Author:
Julien Viet

Field Summary
 
Fields inherited from class org.chromattic.core.mapper.PropertyMapper
contextType, info
 
Constructor Summary
JCRNamedChildParentPropertyMapper(java.lang.Class<O> contextType, RelationshipMapping.OneToOne.Hierarchic info)
           
 
Method Summary
 java.lang.Object get(O ctx)
           
 void set(O context, java.lang.Object child)
           
 
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
getGetter, getInfo, getSetter, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JCRNamedChildParentPropertyMapper

public JCRNamedChildParentPropertyMapper(java.lang.Class<O> contextType,
                                         RelationshipMapping.OneToOne.Hierarchic info)
                                  throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException
Method Detail

get

public java.lang.Object get(O ctx)
                     throws java.lang.Throwable
Overrides:
get in class PropertyMapper<PropertyInfo<BeanValueInfo,ValueKind.Single>,BeanValueInfo,O extends ObjectContext<O>,ValueKind.Single>
Throws:
java.lang.Throwable

set

public void set(O context,
                java.lang.Object child)
         throws java.lang.Throwable
Overrides:
set in class PropertyMapper<PropertyInfo<BeanValueInfo,ValueKind.Single>,BeanValueInfo,O extends ObjectContext<O>,ValueKind.Single>
Throws:
java.lang.Throwable


Copyright © 2013 eXo Platform SAS. All Rights Reserved.