org.codehaus.groovy.grails.orm.hibernate.support
Class HibernateBeanWrapper
java.lang.Object
org.springframework.beans.PropertyEditorRegistrySupport
org.springframework.beans.AbstractPropertyAccessor
org.springframework.beans.BeanWrapperImpl
org.codehaus.groovy.grails.orm.hibernate.support.HibernateBeanWrapper
- All Implemented Interfaces:
- BeanWrapper, ConfigurablePropertyAccessor, PropertyAccessor, PropertyEditorRegistry, TypeConverter
public class HibernateBeanWrapper
- extends BeanWrapperImpl
BeanWrapper implementaion that will not lazy initialize entity properties.
Methods inherited from class org.springframework.beans.BeanWrapperImpl |
convertForProperty, convertIfNecessary, doTypeConversionIfNecessary, getBeanWrapperForPropertyPath, getNestedPath, getPropertyDescriptor, getPropertyDescriptorInternal, getPropertyDescriptors, getPropertyType, getRootClass, getRootInstance, getWrappedClass, getWrappedInstance, isReadableProperty, isWritableProperty, newNestedBeanWrapper, setIntrospectionClass, setPropertyValue, setPropertyValue, setWrappedInstance, setWrappedInstance, toString |
Methods inherited from class org.springframework.beans.PropertyEditorRegistrySupport |
copyCustomEditorsTo, copyDefaultEditorsTo, findCustomEditor, getDefaultEditor, guessPropertyTypeFromEditors, hasCustomEditorForElement, isSharedEditor, registerCustomEditor, registerCustomEditor, registerDefaultEditors, registerSharedEditor, useConfigValueEditors |
HibernateBeanWrapper
public HibernateBeanWrapper()
HibernateBeanWrapper
public HibernateBeanWrapper(boolean b)
HibernateBeanWrapper
public HibernateBeanWrapper(Object o)
HibernateBeanWrapper
public HibernateBeanWrapper(Class aClass)
HibernateBeanWrapper
public HibernateBeanWrapper(Object o,
String s,
Object o1)
getPropertyValue
public Object getPropertyValue(String name)
throws BeansException
- Checks Hibernate.isInitialized before calling super method.
- Specified by:
getPropertyValue
in interface PropertyAccessor
- Overrides:
getPropertyValue
in class BeanWrapperImpl
- Parameters:
name
- target property
- Returns:
- null if false or super'name value if true
- Throws:
BeansException
Copyright (c) 2005-2006 The Grails project