org.chromattic.core.mapper
Class TypeMapper
java.lang.Object
org.chromattic.core.mapper.TypeMapper
- All Implemented Interfaces:
- MethodInvoker
- Direct Known Subclasses:
- MixinTypeMapper, NodeTypeMapper
public abstract class TypeMapper
- extends Object
- implements MethodInvoker
- Version:
- $Revision$
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objectClass
protected final Class<?> objectClass
- .
TypeMapper
public TypeMapper(Class<?> objectClass,
Set<PropertyMapper> propertyMappers,
Set<MethodMapper> methodMappers,
NameConflictResolution onDuplicate,
ObjectFormatter formatter,
Instrumentor instrumentor)
invoke
public Object invoke(EntityContext ctx,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface MethodInvoker
- Throws:
Throwable
getTypeName
public abstract String getTypeName()
getFormatter
public ObjectFormatter getFormatter()
createObject
public Object createObject(EntityContext context)
getMethodMappers
public Set<MethodMapper> getMethodMappers()
getPropertyMappers
public Set<PropertyMapper> getPropertyMappers()
getObjectClass
public Class<?> getObjectClass()
getOnDuplicate
public NameConflictResolution getOnDuplicate()
Copyright © 2009 eXo Platform SAS. All Rights Reserved.