public interface PropertyValues extends java.lang.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(java.lang.String propertyName)
Is there a property value (or other processing entry) for this property?
|
PropertyValue |
getPropertyValue(java.lang.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 java.util.Iterator<PropertyValue> |
iterator()
Return an
Iterator over the property values. |
default java.util.Spliterator<PropertyValue> |
spliterator()
Return a
Spliterator over the property values. |
default java.util.stream.Stream<PropertyValue> |
stream()
Return a sequential
Stream containing the property values. |
default java.util.Iterator<PropertyValue> iterator()
Iterator
over the property values.iterator
in interface java.lang.Iterable<PropertyValue>
default java.util.Spliterator<PropertyValue> spliterator()
Spliterator
over the property values.spliterator
in interface java.lang.Iterable<PropertyValue>
default java.util.stream.Stream<PropertyValue> stream()
Stream
containing the property values.PropertyValue[] getPropertyValues()
@Nullable PropertyValue getPropertyValue(java.lang.String propertyName)
propertyName
- the name to search fornull
if nonePropertyValues changesSince(PropertyValues old)
equals
.old
- old property valuesObject.equals(java.lang.Object)
boolean contains(java.lang.String propertyName)
propertyName
- the name of the property we're interested inboolean isEmpty()