Example usage for Java org.springframework.beans MutablePropertyValues fields, constructors, methods, implement or subclass
The text is from its open source code.
MutablePropertyValues() Creates a new empty MutablePropertyValues object. | |
MutablePropertyValues(@Nullable PropertyValues original) Deep copy constructor. | |
MutablePropertyValues(@Nullable Map, ?> original) Construct a new MutablePropertyValues object from a Map. | |
MutablePropertyValues(@Nullable List Construct a new MutablePropertyValues object using the given List of PropertyValue objects as-is. |
MutablePropertyValues | add(String propertyName, @Nullable Object propertyValue) Add a PropertyValue object, replacing any existing one for the corresponding property or getting merged with it (if applicable). |
void | addPropertyValue(String propertyName, Object propertyValue) Overloaded version of addPropertyValue that takes a property name and a property value. |
MutablePropertyValues | addPropertyValue(PropertyValue pv) Add a PropertyValue object, replacing any existing one for the corresponding property or getting merged with it (if applicable). |
MutablePropertyValues | addPropertyValues(@Nullable PropertyValues other) Copy all given PropertyValues into this object. |
MutablePropertyValues | addPropertyValues(@Nullable Map, ?> other) Add all property values from the given Map. |
boolean | contains(String propertyName) |
Object | get(String propertyName) Get the raw property value, if any. |
PropertyValue | getPropertyValue(String propertyName) |
List | getPropertyValueList() Return the underlying List of PropertyValue objects in its raw form. |
PropertyValue[] | getPropertyValues() |
boolean | isConverted() Return whether this holder contains converted values only ( true ), or whether the values still need to be converted ( false ). |
void | removePropertyValue(PropertyValue pv) Remove the given PropertyValue, if contained. |
void | removePropertyValue(String propertyName) Overloaded version of removePropertyValue that takes a property name. |
void | setConverted() Mark this holder as containing converted values only (i.e. |
void | setPropertyValueAt(PropertyValue pv, int i) Modify a PropertyValue object held in this object. |
int | size() Return the number of PropertyValue entries in the list. |