import org.dbunit.dataset.filter.ITableFilterSimple;
+/**
+ * Describes a persistence unit.
+ *
+ * @author Erik Brakkee
+ */
public class PersistenceUnitDescription {
private String jndiName;
private String unitName;
private ITableFilterSimple tables;
+ /**
+ * Constructs the description.
+ * @param aJndiName Jndi name.
+ * @param aUnitName Persistence unit name.
+ * @param aTables Tables to delete.
+ */
public PersistenceUnitDescription(String aJndiName, String aUnitName,
ITableFilterSimple aTables) {
jndiName = aJndiName;
tables = aTables;
}
+ /**
+ * @return JNDI name.
+ */
public String getJndiName() {
return jndiName;
}
+ /**
+ * Persistence unit name.
+ */
public String getUnitName() {
return unitName;
}
+ /**
+ * Tables to delete.
+ * @return Tables.
+ */
public ITableFilterSimple getTables() {
return tables;
}