|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.util.factory.InitialisingDataFactory<T>
T - Type of object to createpublic class InitialisingDataFactory<T>
Calls another data factory and initialises some of its properties.
| Constructor Summary | |
|---|---|
InitialisingDataFactory()
|
|
| Method Summary | |
|---|---|
T |
create(Object context)
Creates an arbitrary object. |
DataFactory<T> |
getDataFactory()
Gets the factory to call first. |
Map<String,Object> |
getInitialisationMap()
Gets the property paths and their values |
void |
setDataFactory(DataFactory<T> dataFactory)
Sets the factory to call first. |
void |
setInitialisationMap(Map<String,Object> initialisationMap)
Sets the property paths and their values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InitialisingDataFactory()
| Method Detail |
|---|
public T create(Object context)
DataFactory
create in interface DataFactory<T>context - Context of creation
public DataFactory<T> getDataFactory()
public Map<String,Object> getInitialisationMap()
public void setDataFactory(DataFactory<T> dataFactory)
dataFactory - Data factorypublic void setInitialisationMap(Map<String,Object> initialisationMap)
initialisationMap - Map of property paths/values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||