| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Holder for constructor argument values for a bean. Supports values for a specific index in the constructor argument list and generic matches by type.
| Method Summary | |
void | addGenericArgumentValue(Object value)Add generic argument value to be matched by type. |
void | addIndexedArgumentValue(int index, Object value)Add argument value for the given index in the constructor argument list. |
Object | getArgumentValue(int index, Class requiredType)Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type. |
Object | getGenericArgumentValue(Class requiredType)Look for a generic argument value that matches the given type. |
Set | getGenericArgumentValues()Return the set of generic argument values. |
Object | getIndexedArgumentValue(int index)Get argument value for the given index in the constructor argument list. |
Map | getIndexedArgumentValues()Return the map of indexed argument values. |
int | getNrOfArguments()Return the number of arguments held in this instance. |
boolean | isEmpty()Return if this holder does not contain any argument values, neither indexed ones nor generic ones. |
| Method Detail |
public void addGenericArgumentValue(Object value)
public void addIndexedArgumentValue(int index, Object value)
public Object getArgumentValue(int index, Class requiredType)
public Object getGenericArgumentValue(Class requiredType)
public Set getGenericArgumentValues()
public Object getIndexedArgumentValue(int index)
public Map getIndexedArgumentValues()
public int getNrOfArguments()
public boolean isEmpty()
| Association Links |
to Class java.util.Set
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||