org.omnaest.utils.beans.autowired
Interface AutowiredPropertyContainer
- All Superinterfaces:
- AutowiredContainer<Object>, Iterable<Object>, Serializable
- All Known Implementing Classes:
- TypeToAutowiredPropertyContainerAdapter
public interface AutowiredPropertyContainer
- extends AutowiredContainer<Object>
An AutowiredPropertyContainer is a facade for autowired properties of a Java Bean class. It allows to put property
objects into itself and translates the changes to an underlying Java Bean object.
- Author:
- Omnaest
- See Also:
AutowiredContainer
| Methods inherited from interface org.omnaest.utils.beans.autowired.AutowiredContainer |
containsAssignable, getValue, getValueSet, isEmpty, put, put, putAll, remove, removeAllAssignableTo, removeAllHavingExactTypeOf, size |
getPropertynameToValueMap
<O> Map<String,O> getPropertynameToValueMap(Class<O> clazz)
- Returns a
Map for all properties which can be assigned to the given Class. The Map has the property
names as key and the values of the properties as values.
- Type Parameters:
O - - Parameters:
clazz -
put
AutowiredPropertyContainer put(String propertyname,
Object object)
- Adds an
Object to the AutowiredPropertyContainer. This will update all properties of the underlying Java Bean
object which can be assigned by the given Object.
- Parameters:
propertyname - object -
- Returns:
- this
Copyright © 2013. All Rights Reserved.