public interface PropertyValues extends Iterable<PropertyValue>
PropertyValue
objects,
typically comprising one update for a specific target bean.PropertyValue
Modifier and Type | Method and Description |
---|---|
PropertyValues |
changesSince(PropertyValues old)
Return the changes since the previous PropertyValues.
|
boolean |
contains(String propertyName)
Is there a property value (or other processing entry) 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.
|
boolean |
isEmpty()
Does this holder not contain any PropertyValue objects at all?
|
default Iterator<PropertyValue> |
iterator()
Return an
Iterator over the property values. |
default Spliterator<PropertyValue> |
spliterator()
Return a
Spliterator over the property values. |
default Stream<PropertyValue> |
stream()
Return a sequential
Stream containing the property values. |
default Iterator<PropertyValue> iterator()
Iterator
over the property values.iterator
in interface Iterable<PropertyValue>
default Spliterator<PropertyValue> spliterator()
Spliterator
over the property values.spliterator
in interface Iterable<PropertyValue>
default Stream<PropertyValue> stream()
Stream
containing the property values.PropertyValue[] getPropertyValues()
@Nullable PropertyValue getPropertyValue(String propertyName)
propertyName
- the name to search fornull
if nonePropertyValues changesSince(PropertyValues old)
equals
.old
- the old property valuesObject.equals(java.lang.Object)
boolean contains(String propertyName)
propertyName
- the name of the property we're interested inboolean isEmpty()