PropertyDescriptor implementations.
| Modifier and Type | Class and Description |
|---|---|
| private static class | PropertyDescriptorUtils.BasicPropertyDescriptor
PropertyDescriptor for |
| Modifier and Type | Field and Description |
|---|---|
| public static final PropertyDescriptor[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static void | copyNonMethodProperties(PropertyDescriptor source, PropertyDescriptor target)
|
| public static Collection | Returns: a collection of property descriptorsthe target class to introspect beanClass)Simple introspection algorithm for basic set/get/is accessor methods, building corresponding JavaBeans property descriptors for them. |
| public static boolean | equals(PropertyDescriptor pd, PropertyDescriptor otherPd)
Compare the given |
| public static Class | findIndexedPropertyType(String name, Class<?> propertyType, Method indexedReadMethod, Method indexedWriteMethod)
See |
| public static Class | findPropertyType(Method readMethod, Method writeMethod)
|
| EMPTY_PROPERTY_DESCRIPTOR_ARRAY | back to summary |
|---|---|
| public static final PropertyDescriptor[] EMPTY_PROPERTY_DESCRIPTOR_ARRAY | |
| PropertyDescriptorUtils | back to summary |
|---|---|
| pack-priv PropertyDescriptorUtils() | |
| copyNonMethodProperties | back to summary |
|---|---|
| public static void copyNonMethodProperties(PropertyDescriptor source, PropertyDescriptor target) | |
| determineBasicProperties | back to summary |
|---|---|
| public static Collection Simple introspection algorithm for basic set/get/is accessor methods, building corresponding JavaBeans property descriptors for them. This just supports the basic JavaBeans conventions, without indexed properties or any customizers, and without other BeanInfo metadata. For standard JavaBeans introspection, use the JavaBeans Introspector.
| |
| equals | back to summary |
|---|---|
| public static boolean equals(PropertyDescriptor pd, PropertyDescriptor otherPd) Compare the given | |
| findIndexedPropertyType | back to summary |
|---|---|
| public static Class See
| |
| findPropertyType | back to summary |
|---|---|
| public static Class See
| |
determineBasicProperties(Class),
not performing any early type determination for
setReadMethod/setWriteMethod.
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private Method | |
| private Method |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Method | getReadMethod()
Overrides java. |
| public Method | getWriteMethod()
Overrides java. |
| public void | setReadMethod(Method
The new read method. readMethod)Overrides java. |
| public void | setWriteMethod(Method
The new write method. writeMethod)Overrides java. |
| alternativeWriteMethods | back to summary |
|---|---|
| private final List<Method> alternativeWriteMethods | |
| readMethod | back to summary |
|---|---|
| private Method readMethod
| |
| writeMethod | back to summary |
|---|---|
| private Method writeMethod
| |
| BasicPropertyDescriptor | back to summary |
|---|---|
| public BasicPropertyDescriptor(String propertyName, Method readMethod, Method writeMethod) throws IntrospectionException | |
| addWriteMethod | back to summary |
|---|---|
| public void addWriteMethod(Method writeMethod) | |
| getReadMethod | back to summary |
|---|---|
| public Method getReadMethod() Overrides java. Doc from java. Gets the method that should be used to read the property value. | |
| getWriteMethod | back to summary |
|---|---|
| public Method getWriteMethod() Overrides java. Doc from java. Gets the method that should be used to write the property value. | |
| setReadMethod | back to summary |
|---|---|
| public void setReadMethod(Method readMethod) Overrides java. Doc from java. Sets the method that should be used to read the property value. | |
| setWriteMethod | back to summary |
|---|---|
| public void setWriteMethod(Method writeMethod) Overrides java. Doc from java. Sets the method that should be used to write the property value. | |