org.springframework.beans
Interface PropertyValues

All Known Implementing Classes:
MutablePropertyValues, ServletRequestParameterPropertyValues

public interface PropertyValues

Object containing 0 or more PropertyValue objects comprising one update.

Since:
13 May 2001
Author:
Rod Johnson
See Also:
PropertyValue

Method Summary
 PropertyValues changesSince(PropertyValues old)
          Return the changes since the previous PropertyValues.
 boolean contains(String propertyName)
          Is there a property value for this property?
 PropertyValue getPropertyValue(String propertyName)
          Return the property value with the given name, if any.
 PropertyValue[] getPropertyValues()
          Return an array of the PropertyValue objects held in this object.
 

Method Detail

getPropertyValues

PropertyValue[] getPropertyValues()
Return an array of the PropertyValue objects held in this object.


getPropertyValue

PropertyValue getPropertyValue(String propertyName)
Return the property value with the given name, if any.

Parameters:
propertyName - the name to search for
Returns:
the property value, or null

contains

boolean contains(String propertyName)
Is there a property value for this property?

Parameters:
propertyName - the name of the property we're interested in
Returns:
whether there is a property value for this property

changesSince

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 empty PropertyValues if there are no changes.
See Also:
Object.equals(java.lang.Object)


Copyright (c) 2002-2007 The Spring Framework Project.