org.chromattic.core.mapper
Class TypeMapper

java.lang.Object
  extended by org.chromattic.core.mapper.TypeMapper
All Implemented Interfaces:
MethodInvoker

public class TypeMapper
extends Object
implements MethodInvoker

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
TypeMapper(Class<?> objectClass, Set<PropertyMapper> propertyMappers, Set<MethodMapper> methodMappers, NodeDef nodeDef, Instrumentor instrumentor)
           
 
Method Summary
 Object createObject(ObjectContext context)
           
 Set<MethodMapper> getMethodMappers()
           
 NodeDef getNodeDef()
           
 Class<?> getObjectClass()
           
 Set<PropertyMapper> getPropertyMappers()
           
 Object invoke(ObjectContext ctx, Method method, Object[] args)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeMapper

public TypeMapper(Class<?> objectClass,
                  Set<PropertyMapper> propertyMappers,
                  Set<MethodMapper> methodMappers,
                  NodeDef nodeDef,
                  Instrumentor instrumentor)
Method Detail

invoke

public Object invoke(ObjectContext ctx,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface MethodInvoker
Throws:
Throwable

createObject

public Object createObject(ObjectContext context)

getMethodMappers

public Set<MethodMapper> getMethodMappers()

getPropertyMappers

public Set<PropertyMapper> getPropertyMappers()

getObjectClass

public Class<?> getObjectClass()

getNodeDef

public NodeDef getNodeDef()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 eXo Platform SAS. All Rights Reserved.