org.chromattic.core.mapper.onetoone.embedded
Class JCREmbeddedParentPropertyMapper

java.lang.Object
  extended by org.chromattic.core.mapper.PropertyMapper<P,C>
      extended by org.chromattic.core.mapper.RelatedPropertyMapper<SingleValuedPropertyInfo<BeanValueInfo>,EntityContext>
          extended by org.chromattic.core.mapper.onetoone.embedded.JCREmbeddedParentPropertyMapper
All Implemented Interfaces:
MethodInvoker<EntityContext>

public class JCREmbeddedParentPropertyMapper
extends RelatedPropertyMapper<SingleValuedPropertyInfo<BeanValueInfo>,EntityContext>

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
JCREmbeddedParentPropertyMapper(SingleValuedPropertyInfo<BeanValueInfo> info)
           
 
Method Summary
 java.lang.Object get(EntityContext context)
           
 java.lang.Class<?> getRelatedClass()
           
 void set(EntityContext context, java.lang.Object value)
           
 
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

JCREmbeddedParentPropertyMapper

public JCREmbeddedParentPropertyMapper(SingleValuedPropertyInfo<BeanValueInfo> info)
                                throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException
Method Detail

getRelatedClass

public java.lang.Class<?> getRelatedClass()
Specified by:
getRelatedClass in class RelatedPropertyMapper<SingleValuedPropertyInfo<BeanValueInfo>,EntityContext>

get

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

set

public void set(EntityContext context,
                java.lang.Object value)
         throws java.lang.Throwable
Overrides:
set in class PropertyMapper<SingleValuedPropertyInfo<BeanValueInfo>,EntityContext>
Throws:
java.lang.Throwable


Copyright © 2010 eXo Platform SAS. All Rights Reserved.