|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface UtlObjectGraph.PopulationHelper
A helper interface to assist in object population.
| Method Summary | |
|---|---|
Collection<?> |
getFactoryObjects()
Returns a collection of factory objects to help in creating new Objects. |
Object |
getNewInstance(Class<?> type,
Stack<String> getterStack,
Random random)
Allows the helper to provide a new object instance that is perhaps more customized than that provided by the random populator. |
Class<?>[] |
getTypeParameters(Object o,
Class<?> parameterizedType,
Stack<String> getterStack)
Used to retrieve the concrete types for initializing a class with |
| Method Detail |
|---|
Collection<?> getFactoryObjects()
Class<?>[] getTypeParameters(Object o,
Class<?> parameterizedType,
Stack<String> getterStack)
o - The generic object being populated.parameterizedType - the parameterized type whose types need to be resolvedgetterStack - The location in the stack from the root object being intialized.
Object getNewInstance(Class<?> type,
Stack<String> getterStack,
Random random)
type - The object type to create.getterStack - The stack representing the accessor method from the root object to the getter.random - A random seeded for use in population.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||