public class PropertyValue
extends org.springframework.beans.PropertyValue
Note that the value doesn't need to be the final required type:
A BeanWrapper implementation should handle any necessary conversion,
as this object doesn't know anything about the objects it will be applied to.
PropertyValues,
BeanWrapper,
序列化表格| 构造器和说明 |
|---|
PropertyValue(PropertyValue original)
Copy constructor.
|
PropertyValue(PropertyValue original,
Object newValue)
Constructor that exposes a new value for an original value holder.
|
PropertyValue(String name,
Object value)
Create a new PropertyValue instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
PropertyValue |
getOriginalPropertyValue()
Return the original PropertyValue instance for this value holder.
|
equals, getConvertedValue, getName, getValue, hashCode, isConverted, setConvertedValue, toStringaddMetadataAttribute, getAttribute, getMetadataAttribute, getSource, removeAttribute, setAttribute, setSourcepublic PropertyValue(String name, Object value)
name - the name of the property (never null)value - the value of the property (possibly before type conversion)public PropertyValue(PropertyValue original)
original - the PropertyValue to copy (never null)public PropertyValue(PropertyValue original, Object newValue)
original - the PropertyValue to link to (never null)newValue - the new value to applypublic PropertyValue getOriginalPropertyValue()
getOriginalPropertyValue 在类中 org.springframework.beans.PropertyValueCopyright © 2006-2013 开源组织. All Rights Reserved.