(no commit message)
[utils] / test / enterprise / src / main / java / org / wamblee / support / persistence / PersistenceUnitDescription.java
index b6dc28bb3250cbcff950d94b88abb5837fb03969..4cd06d049a6d49a4e3f4e6c2ba4e98249f3506de 100644 (file)
@@ -17,12 +17,23 @@ package org.wamblee.support.persistence;
 
 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;
@@ -30,14 +41,24 @@ public class PersistenceUnitDescription {
         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;
     }