org.chromattic.core.mapper.property
Class JCRPropertyMultiValuedPropertyMapper<O extends ObjectContext<O>,E,I,K extends ValueKind.Multi>

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

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

Version:
$Revision$
Author:
Julien Viet

Field Summary
 
Fields inherited from class org.chromattic.core.mapper.PropertyMapper
contextType, info
 
Constructor Summary
JCRPropertyMultiValuedPropertyMapper(java.lang.Class<O> contextType, SimpleTypeProvider<I,E> vt, ValueMapping<K> info)
           
 
Method Summary
 java.lang.Object get(O context)
           
 void set(O context, java.lang.Object value)
           
 
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

JCRPropertyMultiValuedPropertyMapper

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

get

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

set

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


Copyright © 2014 eXo Platform SAS. All Rights Reserved.