org.chromattic.core.mapper
Class PropertyMapper<P extends PropertyInfo,O extends ObjectContext>
java.lang.Object
org.chromattic.core.mapper.PropertyMapper<P,O>
- All Implemented Interfaces:
- MethodInvoker<O>
- Direct Known Subclasses:
- JCRNodeAttributePropertyMapper, JCRPropertyListPropertyMapper, JCRPropertyMapPropertyMapper, JCRPropertyPropertyMapper, RelatedPropertyMapper
public abstract class PropertyMapper<P extends PropertyInfo,O extends ObjectContext>
- extends Object
- implements MethodInvoker<O>
- 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 Class<O extends ObjectContext> contextType
- .
info
protected final P extends PropertyInfo info
- .
PropertyMapper
public PropertyMapper(Class<O> contextType,
P info)
getType
public Class<O> getType()
getInfo
public P getInfo()
get
public Object get(O context)
throws Throwable
- Throws:
Throwable
set
public void set(O context,
Object value)
throws Throwable
- Throws:
Throwable
invoke
public Object invoke(O ctx,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface MethodInvoker<O extends ObjectContext>
- Throws:
Throwable
Copyright © 2010 eXo Platform SAS. All Rights Reserved.