|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AutowiredPropertyContainer
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.
| Method Summary | ||
|---|---|---|
|
getPropertynameToValueMap(Class<O> clazz)
Returns a Map for all properties which can be assigned to the given Class. |
|
|
getValue(Class<O> clazz)
Returns the value of the property which can be assigned as value to the given Class type. |
|
|
getValueSet(Class<O> clazz)
Returns a Set for all properties which can be assigned to the given Class. |
|
int |
put(Object object)
Adds an Object to the AutowiredPropertyContainer. |
|
boolean |
put(String propertyname,
Object object)
Adds an Object to the AutowiredPropertyContainer. |
|
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
int put(Object object)
Object to the AutowiredPropertyContainer. This will update all properties of the underlying Java Bean
object which can be assigned by the given Object.
object -
boolean put(String propertyname,
Object object)
Object to the AutowiredPropertyContainer. This will update all properties of the underlying Java Bean
object which can be assigned by the given Object.
propertyname - object -
<O> Map<String,O> getPropertynameToValueMap(Class<O> clazz)
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.
O - clazz - <O> Set<O> getValueSet(Class<O> clazz)
Set for all properties which can be assigned to the given Class.
O - clazz - <O> O getValue(Class<O> clazz)
Class type. If there are multiple
properties available with fitting types null is returned.
O - clazz -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||