com.ibatis.sqlmap.engine.accessplan
Class EnhancedPropertyAccessPlan
java.lang.Object
com.ibatis.sqlmap.engine.accessplan.BaseAccessPlan
com.ibatis.sqlmap.engine.accessplan.EnhancedPropertyAccessPlan
- All Implemented Interfaces:
- AccessPlan
- public class EnhancedPropertyAccessPlan
- extends BaseAccessPlan
Enhanced PropertyAccessPlan (for working with beans using CG Lib)
Field Summary |
private net.sf.cglib.beans.BulkBean |
bulkBean
|
Method Summary |
java.lang.Object[] |
getProperties(java.lang.Object object)
Gets all of the properties of a bean |
void |
setProperties(java.lang.Object object,
java.lang.Object[] values)
Sets all of the properties of a bean |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bulkBean
private net.sf.cglib.beans.BulkBean bulkBean
EnhancedPropertyAccessPlan
EnhancedPropertyAccessPlan(java.lang.Class clazz,
java.lang.String[] propertyNames)
setProperties
public void setProperties(java.lang.Object object,
java.lang.Object[] values)
- Description copied from interface:
AccessPlan
- Sets all of the properties of a bean
- Parameters:
object
- - the beanvalues
- - the property values
getProperties
public java.lang.Object[] getProperties(java.lang.Object object)
- Description copied from interface:
AccessPlan
- Gets all of the properties of a bean
- Parameters:
object
- - the bean
- Returns:
- the properties