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/).
| Modifier and Type | Field and Description |
|---|---|
| protected String[] | |
| protected String[] | |
| protected Class | |
| protected Class |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static BulkAccessor | create(Class<T>
the class of the JavaBeans accessed
through the created object. beanClass, String[] the names of setter methods for specified properties. getters, String[] the names of getter methods for specified properties. setters, Class<T>[] the types of specified properties. types)Creates a new instance of |
| public String[] | |
| public Class | |
| public abstract void | getPropertyValues(Object
JavaBean. bean, Object[] the obtained values are stored in this array. values)Obtains the values of properties of a given bean. |
| public Object[] | |
| public String[] | |
| public abstract void | setPropertyValues(Object
JavaBean. bean, Object[] the values assinged to properties. values)Sets properties of a given bean to specified values. |
| getters | back to summary |
|---|---|
| protected String[] getters | |
| setters | back to summary |
|---|---|
| protected String[] setters | |
| target | back to summary |
|---|---|
| protected Class<T> target | |
| types | back to summary |
|---|---|
| protected Class<T>[] types | |
| BulkAccessor | back to summary |
|---|---|
| protected BulkAccessor() | |
| create | back to summary |
|---|---|
| public static BulkAccessor create(Class<T> beanClass, String[] getters, String[] setters, Class<T>[] types) Creates a new instance of | |
| getGetters | back to summary |
|---|---|
| public String[] getGetters() Returns the setter names of properties. | |
| getPropertyTypes | back to summary |
|---|---|
| public Class Returns the types of properties. | |
| getPropertyValues | back to summary |
|---|---|
| public abstract void getPropertyValues(Object bean, Object[] values) Obtains the values of properties of a given bean. | |
| getPropertyValues | back to summary |
|---|---|
| public Object[] getPropertyValues(Object bean) Returns the values of properties of a given bean.
| |
| getSetters | back to summary |
|---|---|
| public String[] getSetters() Returns the getter names of the properties. | |
| setPropertyValues | back to summary |
|---|---|
| public abstract void setPropertyValues(Object bean, Object[] values) Sets properties of a given bean to specified values. | |