| |
|
| java.lang.Object com.bm.testsuite.dataloader.EntityInitialDataSet
EntityInitialDataSet | abstract public class EntityInitialDataSet implements InitialDataSet(Code) | | Represents an initial dataset for entity beans.
author: Daniel Wiese< Parameters: T - > -der typ des Entity Beans welches initial angelegt wird. |
Method Summary | |
protected void | add(T toAdd) The inherited class can call this method to add some data. | public void | cleanup(EntityManager em) Deletes the data. | public void | setEntityManager(EntityManager em) Will be called by the testing framework. |
EntityInitialDataSet | public EntityInitialDataSet(Class<T> entityType)(Code) | | Constructor.
Parameters: entityType - -die klasse der entity benas die initial angelegt werdensollen. |
add | protected void add(T toAdd)(Code) | | The inherited class can call this method to add some data.
Parameters: toAdd - -entyties to add; |
setEntityManager | public void setEntityManager(EntityManager em)(Code) | | Will be called by the testing framework.
Parameters: em - -the entity manager |
|
|
|