org.springframework.beans
Interface PropertyValues
- All Known Implementing Classes:
- MutablePropertyValues, ServletRequestParameterPropertyValues, FilterConfigPropertyValues, ServletConfigPropertyValues
- public interface PropertyValues
Object containing 0 or more PropertyValues comprising one update.
- Author:
- Rod Johnson
- Version: $Id: PropertyValues.java,v 1.2 2003/08/26 10:17:27 jhoeller Exp $
- Since: 13 May 2001
changesSince
public PropertyValues changesSince(PropertyValues old)
- Return the changes since the previous PropertyValues.
Subclasses should also override equals.
- Parameters:
- old - old property values
- Returns: PropertyValues updated or new properties.
Return the empty PropertyValues if there are no changes.
contains
public boolean contains(String propertyName)
- Is there a property value for this property?
- Parameters:
- propertyName - name of the property we're interested in
- Returns: whether there is a property value for this property
getPropertyValue
public PropertyValue getPropertyValue(String propertyName)
- Return the property value with the given name.
- Parameters:
- propertyName - name to search for
- Returns: pv or null
getPropertyValues
public PropertyValue[] getPropertyValues()
- Return an array of the PropertyValue objects held in this object.
- Returns: an array of the PropertyValue objects held in this object.