类的使用
org.springframework.beans.PropertyValue
使用PropertyValue的程序包 程序包 说明 org.springframework.beans This package contains interfaces and classes for manipulating Java beans.org.springframework.beans中PropertyValue的使用
返回PropertyValue的org.springframework.beans中的方法 修饰符和类型 方法 说明 PropertyValuePropertyValue. getOriginalPropertyValue()Return the original PropertyValue instance for this value holder.PropertyValueMutablePropertyValues. getPropertyValue(String propertyName)PropertyValuePropertyValues. getPropertyValue(String propertyName)Return the property value with the given name, if any.PropertyValue[]MutablePropertyValues. getPropertyValues()PropertyValue[]PropertyValues. getPropertyValues()Return an array of the PropertyValue objects held in this object.返回变量类型为PropertyValue的类型的org.springframework.beans中的方法 修饰符和类型 方法 说明 List<PropertyValue>MutablePropertyValues. getPropertyValueList()Return the underlying List of PropertyValue objects in its raw form.Iterator<PropertyValue>MutablePropertyValues. iterator()default Iterator<PropertyValue>PropertyValues. iterator()Return anIteratorover the property values.Spliterator<PropertyValue>MutablePropertyValues. spliterator()default Spliterator<PropertyValue>PropertyValues. spliterator()Return aSpliteratorover the property values.Stream<PropertyValue>MutablePropertyValues. stream()default Stream<PropertyValue>PropertyValues. stream()Return a sequentialStreamcontaining the property values.参数类型为PropertyValue的org.springframework.beans中的方法 修饰符和类型 方法 说明 MutablePropertyValuesMutablePropertyValues. addPropertyValue(PropertyValue pv)Add a PropertyValue object, replacing any existing one for the corresponding property or getting merged with it (if applicable).voidMutablePropertyValues. removePropertyValue(PropertyValue pv)Remove the given PropertyValue, if contained.protected voidAbstractNestablePropertyAccessor. setPropertyValue(AbstractNestablePropertyAccessor.PropertyTokenHolder tokens, PropertyValue pv)voidAbstractNestablePropertyAccessor. setPropertyValue(PropertyValue pv)voidAbstractPropertyAccessor. setPropertyValue(PropertyValue pv)voidPropertyAccessor. setPropertyValue(PropertyValue pv)Set the specified value as current property value.voidMutablePropertyValues. setPropertyValueAt(PropertyValue pv, int i)Modify a PropertyValue object held in this object.参数类型为PropertyValue的org.springframework.beans中的构造器 构造器 说明 PropertyValue(PropertyValue original)Copy constructor.PropertyValue(PropertyValue original, Object newValue)Constructor that exposes a new value for an original value holder.类型变量类型为PropertyValue的org.springframework.beans中的构造器参数 构造器 说明 MutablePropertyValues(List<PropertyValue> propertyValueList)Construct a new MutablePropertyValues object using the given List of PropertyValue objects as-is.