public class CleaningFixture extends Object implements Fixture, CleanableFixture
| Constructor and Description |
|---|
CleaningFixture(Class... classesToDelete) |
| Modifier and Type | Method and Description |
|---|---|
Fixture |
addClassesToDelete(Class... classesToDelete)
Add Hibernate mappings to the list of mappings representing the tables to truncate.
|
Iterator<Class> |
getClassesToDeleteIterator()
Returns an ordered iterator of mapping classes to delete from database.
|
public CleaningFixture(Class... classesToDelete)
classesToDelete - a list of the Hibernate mappings representing the tables to truncate.public Fixture addClassesToDelete(Class... classesToDelete)
classesToDelete - the mappings to add.public Iterator<Class> getClassesToDeleteIterator()
getClassesToDeleteIterator in interface CleanableFixtureCopyright © 2014. All Rights Reserved.