public class MapPropertyDescriptor extends BaseNoStandardPropertyDescriptor
Map实例的属性封装| 构造器和说明 |
|---|
MapPropertyDescriptor(java.lang.Class<?> propertyType,
java.lang.String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Class<?> |
getPropertyType() |
java.lang.reflect.Method |
getReadMethod() |
java.lang.reflect.Method |
getWriteMethod() |
static java.lang.Object |
readMethod(java.lang.Object bean,
java.lang.String name)
字段读取方法实现
|
static void |
writeMethod(java.lang.Object bean,
java.lang.String name,
java.lang.Object value)
字段写入方法实现
|
beforeInvokeMethod, getReadMethod, getWriteMethodcreatePropertyEditor, equals, getPropertyEditorClass, hashCode, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClass, setReadMethod, setWriteMethodpublic MapPropertyDescriptor(java.lang.Class<?> propertyType,
java.lang.String name)
throws com.googlecode.openbeans.IntrospectionException
com.googlecode.openbeans.IntrospectionExceptionpublic static java.lang.Object readMethod(java.lang.Object bean,
java.lang.String name)
bean - 读取目标对象name - 字段名public static void writeMethod(java.lang.Object bean,
java.lang.String name,
java.lang.Object value)
bean - 写入目标对象name - 字段名value - 要写入的值public java.lang.reflect.Method getReadMethod()
getReadMethod 在类中 com.googlecode.openbeans.PropertyDescriptorpublic java.lang.reflect.Method getWriteMethod()
getWriteMethod 在类中 com.googlecode.openbeans.PropertyDescriptorpublic java.lang.Class<?> getPropertyType()
getPropertyType 在类中 com.googlecode.openbeans.PropertyDescriptorCopyright © 2023. All Rights Reserved.