org.chromattic.core.mapper
Class TypeMapper
java.lang.Object
org.chromattic.core.mapper.TypeMapper
- All Implemented Interfaces:
- MethodInvoker
public class TypeMapper
- extends Object
- implements MethodInvoker
- Version:
- $Revision$
- Author:
- Julien Viet
TypeMapper
public TypeMapper(Class<?> objectClass,
Set<PropertyMapper> propertyMappers,
Set<MethodMapper> methodMappers,
String primaryNodeTypeName,
Set<String> mixinNodeTypeNames,
NameConflictResolution onDuplicate,
Instrumentor instrumentor)
invoke
public Object invoke(EntityContext ctx,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface MethodInvoker
- Throws:
Throwable
createObject
public Object createObject(EntityContext context)
getMethodMappers
public Set<MethodMapper> getMethodMappers()
getPropertyMappers
public Set<PropertyMapper> getPropertyMappers()
getObjectClass
public Class<?> getObjectClass()
getPrimaryNodeTypeName
public String getPrimaryNodeTypeName()
getMixinNodeTypeNames
public List<String> getMixinNodeTypeNames()
getOnDuplicate
public NameConflictResolution getOnDuplicate()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009 eXo Platform SAS. All Rights Reserved.