org.chromattic.core.mapper.property
Class JCRPropertyPropertyMapper<O extends ObjectContext>

java.lang.Object
  extended by org.chromattic.core.mapper.PropertyMapper<SingleValuedPropertyInfo<SimpleValueInfo>,O>
      extended by org.chromattic.core.mapper.property.JCRPropertyPropertyMapper<O>
All Implemented Interfaces:
MethodInvoker<O>

public class JCRPropertyPropertyMapper<O extends ObjectContext>
extends PropertyMapper<SingleValuedPropertyInfo<SimpleValueInfo>,O>

Version:
$Revision$
Author:
Julien Viet

Field Summary
 
Fields inherited from class org.chromattic.core.mapper.PropertyMapper
contextType, info
 
Constructor Summary
JCRPropertyPropertyMapper(java.lang.Class<O> contextType, SingleValuedPropertyInfo<SimpleValueInfo> info, java.lang.String jcrPropertyName, java.util.List<O> defaultValue)
           
 
Method Summary
 java.lang.Object get(O context)
           
 void set(O context, java.lang.Object o)
           
 
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, toString, wait, wait, wait
 

Constructor Detail

JCRPropertyPropertyMapper

public JCRPropertyPropertyMapper(java.lang.Class<O> contextType,
                                 SingleValuedPropertyInfo<SimpleValueInfo> info,
                                 java.lang.String jcrPropertyName,
                                 java.util.List<O> defaultValue)
Method Detail

get

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

set

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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.