Interface PropertyValues
- All Superinterfaces:
- Iterable<PropertyValue>
- All Known Implementing Classes:
- MutablePropertyValues, ServletRequestParameterPropertyValues
Holder containing one or more 
PropertyValue objects,
typically comprising one update for a specific target bean.- Since:
- 13 May 2001
- Author:
- Rod Johnson, Juergen Hoeller
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionReturn the changes since the previous PropertyValues.booleanIs there a property value (or other processing entry) for this property?getPropertyValue(String propertyName) Return the property value with the given name, if any.Return an array of the PropertyValue objects held in this object.booleanisEmpty()Does this holder not contain any PropertyValue objects at all?default Iterator<PropertyValue> iterator()Return anIteratorover the property values.default Spliterator<PropertyValue> Return aSpliteratorover the property values.default Stream<PropertyValue> stream()Return a sequentialStreamcontaining the property values.
- 
Method Details- 
iteratorReturn anIteratorover the property values.- Specified by:
- iteratorin interface- Iterable<PropertyValue>
- Since:
- 5.1
 
- 
spliteratorReturn aSpliteratorover the property values.- Specified by:
- spliteratorin interface- Iterable<PropertyValue>
- Since:
- 5.1
 
- 
streamReturn a sequentialStreamcontaining the property values.- Since:
- 5.1
 
- 
getPropertyValuesPropertyValue[] getPropertyValues()Return an array of the PropertyValue objects held in this object.
- 
getPropertyValueReturn the property value with the given name, if any.- Parameters:
- propertyName- the name to search for
- Returns:
- the property value, or nullif none
 
- 
changesSinceReturn the changes since the previous PropertyValues. Subclasses should also overrideequals.- Parameters:
- old- the old property values
- Returns:
- the updated or new properties. Return empty PropertyValues if there are no changes.
- See Also:
 
- 
containsIs there a property value (or other processing entry) for this property?- Parameters:
- propertyName- the name of the property we're interested in
- Returns:
- whether there is a property value for this property
 
- 
isEmptyboolean isEmpty()Does this holder not contain any PropertyValue objects at all?
 
-