org.apache.ibatis.reflection
Class Reflector

java.lang.Object
  extended by org.apache.ibatis.reflection.Reflector

public class Reflector
extends Object


Method Summary
 String findPropertyName(String name)
           
static Reflector forClass(Class<?> clazz)
           
 Constructor<?> getDefaultConstructor()
           
 String[] getGetablePropertyNames()
           
 Invoker getGetInvoker(String propertyName)
           
 Class<?> getGetterType(String propertyName)
           
 String[] getSetablePropertyNames()
           
 Invoker getSetInvoker(String propertyName)
           
 Class<?> getSetterType(String propertyName)
           
 Class<?> getType()
           
 boolean hasGetter(String propertyName)
           
 boolean hasSetter(String propertyName)
           
static boolean isClassCacheEnabled()
           
static void setClassCacheEnabled(boolean classCacheEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getType

public Class<?> getType()

getDefaultConstructor

public Constructor<?> getDefaultConstructor()

getSetInvoker

public Invoker getSetInvoker(String propertyName)

getGetInvoker

public Invoker getGetInvoker(String propertyName)

getSetterType

public Class<?> getSetterType(String propertyName)

getGetterType

public Class<?> getGetterType(String propertyName)

getGetablePropertyNames

public String[] getGetablePropertyNames()

getSetablePropertyNames

public String[] getSetablePropertyNames()

hasSetter

public boolean hasSetter(String propertyName)

hasGetter

public boolean hasGetter(String propertyName)

findPropertyName

public String findPropertyName(String name)

forClass

public static Reflector forClass(Class<?> clazz)

setClassCacheEnabled

public static void setClassCacheEnabled(boolean classCacheEnabled)

isClassCacheEnabled

public static boolean isClassCacheEnabled()


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.