|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.springframework.core.AttributeAccessorSupport
org.springframework.beans.BeanMetadataAttributeAccessor
org.springframework.beans.PropertyValue
org.tinygroup.weblayer.webcontext.parser.util.PropertyValue
public class PropertyValue
Object to hold information and value for an individual bean property. Using an object here, rather than just storing all properties in a map keyed by property name, allows for more flexibility, and the ability to handle indexed properties etc in an optimized way.
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. |
| 从类 org.springframework.beans.PropertyValue 继承的方法 |
|---|
equals, getConvertedValue, getName, getValue, hashCode, isConverted, setConvertedValue, toString |
| 从类 org.springframework.beans.BeanMetadataAttributeAccessor 继承的方法 |
|---|
addMetadataAttribute, getAttribute, getMetadataAttribute, getSource, removeAttribute, setAttribute, setSource |
| 从类 org.springframework.core.AttributeAccessorSupport 继承的方法 |
|---|
attributeNames, copyAttributesFrom, hasAttribute |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public 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 apply| 方法详细信息 |
|---|
public PropertyValue getOriginalPropertyValue()
org.springframework.beans.PropertyValue 中的 getOriginalPropertyValue
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||