当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
ReflectHelper (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.util
Class ReflectHelper
java.lang.Object
net.sf.hibernate.util.ReflectHelper
- public final class ReflectHelper
- extends Object
Method Summary |
static Class |
classForName(String name)
|
static net.sf.cglib.beans.BulkBean |
getBulkBean(Class clazz,
String[] getterNames,
String[] setterNames,
Class[] types,
net.sf.cglib.reflect.FastClass fastClass)
|
static Object |
getConstantValue(String name)
|
static Constructor |
getConstructor(Class clazz,
Type[] types)
|
static Constructor |
getDefaultConstructor(Class clazz)
|
static net.sf.cglib.reflect.FastClass |
getFastClass(Class clazz)
|
static Getter |
getGetter(Class theClass,
String name)
|
static String |
getPropertyName(Throwable t,
net.sf.cglib.beans.BulkBean optimizer)
|
static boolean |
isAbstractClass(Class clazz)
|
static boolean |
isPublic(Class clazz,
Member member)
|
static boolean |
overridesEquals(Class clazz)
|
static boolean |
overridesHashCode(Class clazz)
|
static Class |
reflectedPropertyClass(Class clazz,
String name)
|
static Type |
reflectedPropertyType(Class clazz,
String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_GET_EXCEPTION
public static final String PROPERTY_GET_EXCEPTION
- See Also:
- Constant Field Values
PROPERTY_SET_EXCEPTION
public static final String PROPERTY_SET_EXCEPTION
- See Also:
- Constant Field Values
overridesEquals
public static boolean overridesEquals(Class clazz)
overridesHashCode
public static boolean overridesHashCode(Class clazz)
reflectedPropertyType
public static Type reflectedPropertyType(Class clazz,
String name)
throws MappingException
- Throws:
MappingException
reflectedPropertyClass
public static Class reflectedPropertyClass(Class clazz,
String name)
throws MappingException
- Throws:
MappingException
getGetter
public static Getter getGetter(Class theClass,
String name)
throws MappingException
- Throws:
MappingException
classForName
public static Class classForName(String name)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
isPublic
public static boolean isPublic(Class clazz,
Member member)
getConstantValue
public static Object getConstantValue(String name)
getDefaultConstructor
public static Constructor getDefaultConstructor(Class clazz)
throws PropertyNotFoundException
- Throws:
PropertyNotFoundException
isAbstractClass
public static boolean isAbstractClass(Class clazz)
getFastClass
public static net.sf.cglib.reflect.FastClass getFastClass(Class clazz)
getBulkBean
public static net.sf.cglib.beans.BulkBean getBulkBean(Class clazz,
String[] getterNames,
String[] setterNames,
Class[] types,
net.sf.cglib.reflect.FastClass fastClass)
getConstructor
public static Constructor getConstructor(Class clazz,
Type[] types)
throws PropertyNotFoundException
- Throws:
PropertyNotFoundException
getPropertyName
public static String getPropertyName(Throwable t,
net.sf.cglib.beans.BulkBean optimizer)