| java.lang.Object org.hibernate.bytecode.javassist.BulkAccessor
BulkAccessor | abstract public class BulkAccessor implements Serializable(Code) | | A JavaBean accessor.
This object provides methods that set/get multiple properties
of a JavaBean at once. This class and its support classes have been
developed for the comaptibility with cglib
(http://cglib.sourceforge.net/).
author: Muga Nishizawa author: modified by Shigeru Chiba |
BulkAccessor | protected BulkAccessor()(Code) | | |
create | public static BulkAccessor create(Class beanClass, String[] getters, String[] setters, Class[] types)(Code) | | Creates a new instance of BulkAccessor .
The created instance provides methods for setting/getting
specified properties at once.
Parameters: beanClass - the class of the JavaBeans accessedthrough the created object. Parameters: getters - the names of setter methods for specified properties. Parameters: setters - the names of getter methods for specified properties. Parameters: types - the types of specified properties. |
getGetters | public String[] getGetters()(Code) | | Returns the setter names of properties.
|
getPropertyTypes | public Class[] getPropertyTypes()(Code) | | Returns the types of properties.
|
getPropertyValues | abstract public void getPropertyValues(Object bean, Object[] values)(Code) | | Obtains the values of properties of a given bean.
Parameters: bean - JavaBean. Parameters: values - the obtained values are stored in this array. |
getPropertyValues | public Object[] getPropertyValues(Object bean)(Code) | | Returns the values of properties of a given bean.
Parameters: bean - JavaBean. |
getSetters | public String[] getSetters()(Code) | | Returns the getter names of the properties.
|
setPropertyValues | abstract public void setPropertyValues(Object bean, Object[] values)(Code) | | Sets properties of a given bean to specified values.
Parameters: bean - JavaBean. Parameters: values - the values assinged to properties. |
|
|