Package org.apache.ibatis.reflection
Class MetaClass
- java.lang.Object
-
- org.apache.ibatis.reflection.MetaClass
-
public class MetaClass extends java.lang.Object
- Author:
- Clinton Begin
-
-
Method Summary
Modifier and Type Method Description java.lang.String
findProperty(java.lang.String name)
java.lang.String
findProperty(java.lang.String name, boolean useCamelCaseMapping)
static MetaClass
forClass(java.lang.Class<?> type, ReflectorFactory reflectorFactory)
Invoker
getGetInvoker(java.lang.String name)
java.lang.String[]
getGetterNames()
java.lang.Class<?>
getGetterType(java.lang.String name)
Invoker
getSetInvoker(java.lang.String name)
java.lang.String[]
getSetterNames()
java.lang.Class<?>
getSetterType(java.lang.String name)
boolean
hasDefaultConstructor()
boolean
hasGetter(java.lang.String name)
boolean
hasSetter(java.lang.String name)
MetaClass
metaClassForProperty(java.lang.String name)
-
-
-
Method Detail
-
forClass
public static MetaClass forClass(java.lang.Class<?> type, ReflectorFactory reflectorFactory)
-
metaClassForProperty
public MetaClass metaClassForProperty(java.lang.String name)
-
findProperty
public java.lang.String findProperty(java.lang.String name)
-
findProperty
public java.lang.String findProperty(java.lang.String name, boolean useCamelCaseMapping)
-
getGetterNames
public java.lang.String[] getGetterNames()
-
getSetterNames
public java.lang.String[] getSetterNames()
-
getSetterType
public java.lang.Class<?> getSetterType(java.lang.String name)
-
getGetterType
public java.lang.Class<?> getGetterType(java.lang.String name)
-
hasSetter
public boolean hasSetter(java.lang.String name)
-
hasGetter
public boolean hasGetter(java.lang.String name)
-
getGetInvoker
public Invoker getGetInvoker(java.lang.String name)
-
getSetInvoker
public Invoker getSetInvoker(java.lang.String name)
-
hasDefaultConstructor
public boolean hasDefaultConstructor()
-
-