org.springframework.beans
Interface PropertyValues

All Known Implementing Classes:
MutablePropertyValues

public interface PropertyValues

Object containing 0 or more PropertyValues comprising one update.

Since:
13 May 2001
Version:
$Id: PropertyValues.java,v 1.3 2004/03/18 02:46:12 trisberg Exp $
Author:
Rod Johnson

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

Method Detail

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.

getPropertyValue

public PropertyValue getPropertyValue(java.lang.String propertyName)
Return the property value with the given name.

Parameters:
propertyName - name to search for
Returns:
pv or null

contains

public boolean contains(java.lang.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

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.


Copyright (C) 2003-2004 The Spring Framework Project.