source code formatting.
[utils] / test / eclipselink / src / main / java / org / wamblee / support / persistence / eclipselink / EclipselinkJpaCustomizer.java
index 856b051986174e08c1c03840bafaea8a22609d4d..8f500d38037782ddd2ae4de16706e8e041bf73ee 100644 (file)
@@ -1,30 +1,55 @@
+/*
+ * SCJD assignment, URLyBird, Erik Brakkee.
+ * Candidate ID: sr1399267.
+ */
 package org.wamblee.support.persistence.eclipselink;
 
-import java.util.Map;
-
 import org.dbunit.dataset.filter.ITableFilterSimple;
+
 import org.wamblee.support.persistence.JpaCustomizer;
 import org.wamblee.support.persistence.PersistenceUnitDescription;
 
-public class EclipselinkJpaCustomizer implements JpaCustomizer {
+import java.util.Map;
+
 
-    public EclipselinkJpaCustomizer() { 
+/**
+ * DOCUMENT ME!
+ *
+ * @author $author$
+ * @version $Revision$
+ */
+public class EclipselinkJpaCustomizer implements JpaCustomizer {
+/**
+     * Creates a new EclipselinkJpaCustomizer object.
+     */
+    public EclipselinkJpaCustomizer() {
         // Empty
     }
-    
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param aPersistenceUnit DOCUMENT ME!
+     * @param aJpaProperties DOCUMENT ME!
+     */
     @Override
-    public void customize(PersistenceUnitDescription aPersistenceUnit, Map<String, String> aJpaProperties) {
+    public void customize(PersistenceUnitDescription aPersistenceUnit,
+        Map<String, String> aJpaProperties) {
         // Hack to make JNDI lookup of the datasource work with toplink
-        aJpaProperties.put("eclipselink.session.customizer", JndiSessionCustomizer.class
-                .getName());
-        
+        aJpaProperties.put("eclipselink.session.customizer",
+            JndiSessionCustomizer.class.getName());
+
         // DDL generation for toplink
-        aJpaProperties.put("eclipselink.ddl-generation", "create-tables");   
+        aJpaProperties.put("eclipselink.ddl-generation", "create-tables");
     }
-    
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @return DOCUMENT ME!
+     */
     @Override
     public ITableFilterSimple getJpaTables() {
         return new EclipselinkTables();
     }
-
 }