|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bm.testsuite.dataloader.EntityInitialDataSet<T>
T
- -
der typ des Entity Beans welches initial angelegt wird.public abstract class EntityInitialDataSet<T>
Represents an initial dataset for entity beans.
Constructor Summary | |
---|---|
EntityInitialDataSet(java.lang.Class<T> entityType)
Constructor. |
Method Summary | |
---|---|
protected void |
add(T toAdd)
The inherited class can call this method to add some data. |
void |
cleanup(javax.persistence.EntityManager em)
Deletes the data. |
void |
setEntityManager(javax.persistence.EntityManager em)
Will be called by the testing framework. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bm.testsuite.dataloader.InitialDataSet |
---|
create |
Constructor Detail |
---|
public EntityInitialDataSet(java.lang.Class<T> entityType)
entityType
- -
die klasse der entity benas die initial angelegt werden
sollen.Method Detail |
---|
public void setEntityManager(javax.persistence.EntityManager em)
em
- -
the entity managerprotected void add(T toAdd)
toAdd
- -
entyties to add;public void cleanup(javax.persistence.EntityManager em)
cleanup
in interface InitialDataSet
ds
- -
the datasource.InitialDataSet.cleanup(EntityManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |