org.chromattic.core.mapper
Class PropertyMapper<P extends PropertyInfo<V,K>,V extends ValueInfo,O extends ObjectContext<O>,K extends ValueKind>
java.lang.Object
org.chromattic.core.mapper.PropertyMapper<P,V,O,K>
- Direct Known Subclasses:
- JCRNodeAttributePropertyMapper, JCRPropertyDetypedPropertyMapper, JCRPropertyMultiValuedPropertyMapper, JCRPropertySingleValuedPropertyMapper, RelatedPropertyMapper
public abstract class PropertyMapper<P extends PropertyInfo<V,K>,V extends ValueInfo,O extends ObjectContext<O>,K extends ValueKind>
- extends java.lang.Object
- Version:
- $Revision$
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contextType
protected final java.lang.Class<O extends ObjectContext<O>> contextType
- .
info
protected final PropertyMapping<P extends PropertyInfo<V,K>,V extends ValueInfo,K extends ValueKind> info
- .
PropertyMapper
public PropertyMapper(java.lang.Class<O> contextType,
PropertyMapping<P,V,K> info)
getType
public java.lang.Class<O> getType()
getInfo
public PropertyMapping<P,V,K> getInfo()
get
public java.lang.Object get(O context)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
set
public void set(O context,
java.lang.Object value)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getGetter
public MethodInvoker<O> getGetter()
getSetter
public MethodInvoker<O> getSetter()
Copyright © 2013 eXo Platform SAS. All Rights Reserved.