org.chromattic.core.mapper.onetoone.hierarchical
Class JCRNamedChildParentPropertyMapper<O extends ObjectContext>
java.lang.Object
org.chromattic.core.mapper.PropertyMapper<P,C>
org.chromattic.core.mapper.RelatedPropertyMapper<SingleValuedPropertyInfo<BeanValueInfo>,O>
org.chromattic.core.mapper.JCRNodePropertyMapper<O>
org.chromattic.core.mapper.onetoone.hierarchical.JCRNamedChildParentPropertyMapper<O>
- All Implemented Interfaces:
- MethodInvoker<O>
public class JCRNamedChildParentPropertyMapper<O extends ObjectContext>
- extends JCRNodePropertyMapper<O>
- Version:
- $Revision$
- Author:
- Julien Viet
JCRNamedChildParentPropertyMapper
public JCRNamedChildParentPropertyMapper(Class<O> contextType,
SingleValuedPropertyInfo<BeanValueInfo> info,
String nodeName)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getNodeName
public String getNodeName()
get
public Object get(O ctx)
throws Throwable
- Overrides:
get in class PropertyMapper<SingleValuedPropertyInfo<BeanValueInfo>,O extends ObjectContext>
- Throws:
Throwable
set
public void set(O context,
Object child)
throws Throwable
- Overrides:
set in class PropertyMapper<SingleValuedPropertyInfo<BeanValueInfo>,O extends ObjectContext>
- Throws:
Throwable
Copyright © 2010 eXo Platform SAS. All Rights Reserved.