Package | Description |
---|---|
org.springframework.beans |
This package contains interfaces and classes for manipulating Java beans.
|
Modifier and Type | Method and Description |
---|---|
PropertyValue |
PropertyValue.getOriginalPropertyValue()
Return the original PropertyValue instance for this value holder.
|
PropertyValue |
PropertyValues.getPropertyValue(java.lang.String propertyName)
Return the property value with the given name, if any.
|
PropertyValue |
MutablePropertyValues.getPropertyValue(java.lang.String propertyName) |
PropertyValue[] |
PropertyValues.getPropertyValues()
Return an array of the PropertyValue objects held in this object.
|
PropertyValue[] |
MutablePropertyValues.getPropertyValues() |
Modifier and Type | Method and Description |
---|---|
java.util.List<PropertyValue> |
MutablePropertyValues.getPropertyValueList()
Return the underlying List of PropertyValue objects in its raw form.
|
default java.util.Iterator<PropertyValue> |
PropertyValues.iterator()
Return an
Iterator over the property values. |
java.util.Iterator<PropertyValue> |
MutablePropertyValues.iterator() |
default java.util.Spliterator<PropertyValue> |
PropertyValues.spliterator()
Return a
Spliterator over the property values. |
java.util.Spliterator<PropertyValue> |
MutablePropertyValues.spliterator() |
default java.util.stream.Stream<PropertyValue> |
PropertyValues.stream()
Return a sequential
Stream containing the property values. |
java.util.stream.Stream<PropertyValue> |
MutablePropertyValues.stream() |
Modifier and Type | Method and Description |
---|---|
MutablePropertyValues |
MutablePropertyValues.addPropertyValue(PropertyValue pv)
Add a PropertyValue object, replacing any existing one for the
corresponding property or getting merged with it (if applicable).
|
void |
MutablePropertyValues.removePropertyValue(PropertyValue pv)
Remove the given PropertyValue, if contained.
|
protected void |
AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.PropertyTokenHolder tokens,
PropertyValue pv) |
void |
PropertyAccessor.setPropertyValue(PropertyValue pv)
Set the specified value as current property value.
|
void |
AbstractPropertyAccessor.setPropertyValue(PropertyValue pv) |
void |
AbstractNestablePropertyAccessor.setPropertyValue(PropertyValue pv) |
void |
MutablePropertyValues.setPropertyValueAt(PropertyValue pv,
int i)
Modify a PropertyValue object held in this object.
|
Constructor and Description |
---|
PropertyValue(PropertyValue original)
Copy constructor.
|
PropertyValue(PropertyValue original,
java.lang.Object newValue)
Constructor that exposes a new value for an original value holder.
|
Constructor and Description |
---|
MutablePropertyValues(java.util.List<PropertyValue> propertyValueList)
Construct a new MutablePropertyValues object using the given List of
PropertyValue objects as-is.
|