org.chromattic.core.mapper.property
Class JCRPropertySingleValuedPropertyMapper<O extends ObjectContext<O>,E,I>

java.lang.Object
  extended by org.chromattic.core.mapper.PropertyMapper<PropertyInfo<SimpleValueInfo<ValueKind.Single>,ValueKind.Single>,SimpleValueInfo<ValueKind.Single>,O,ValueKind.Single>
      extended by org.chromattic.core.mapper.property.JCRPropertySingleValuedPropertyMapper<O,E,I>

public class JCRPropertySingleValuedPropertyMapper<O extends ObjectContext<O>,E,I>
extends PropertyMapper<PropertyInfo<SimpleValueInfo<ValueKind.Single>,ValueKind.Single>,SimpleValueInfo<ValueKind.Single>,O,ValueKind.Single>

Version:
$Revision$
Author:
Julien Viet

Field Summary
 
Fields inherited from class org.chromattic.core.mapper.PropertyMapper
contextType, info
 
Constructor Summary
JCRPropertySingleValuedPropertyMapper(java.lang.Class<O> contextType, SimpleTypeProvider<I,E> vt, ValueMapping<ValueKind.Single> info)
           
 
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
getGetter, getInfo, getSetter, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCRPropertySingleValuedPropertyMapper

public JCRPropertySingleValuedPropertyMapper(java.lang.Class<O> contextType,
                                             SimpleTypeProvider<I,E> vt,
                                             ValueMapping<ValueKind.Single> info)
Method Detail

get

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

set

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


Copyright © 2011 eXo Platform SAS. All Rights Reserved.