fixes:
[mir.git] / source / mir / module / AbstractModule.java
index a010a85..2324e19 100755 (executable)
@@ -32,7 +32,7 @@
 package  mir.module;
 
 import java.sql.SQLException;
-import java.util.HashMap;
+import java.util.Map;
 
 import freemarker.template.SimpleHash;
 
@@ -163,7 +163,7 @@ public class AbstractModule {
    * @return Id des eingef?gten Objekts
    * @exception ModuleException
    */
-  public String add (HashMap theValues) throws ModuleException {
+  public String add (Map theValues) throws ModuleException {
     try {
       Entity theEntity = (Entity)theStorage.getEntityClass().newInstance();
       theEntity.setStorage(theStorage);
@@ -180,7 +180,7 @@ public class AbstractModule {
    * @return Id des eingef?gten Objekts
    * @exception ModuleException
    */
-  public String set (HashMap theValues) throws ModuleException {
+  public String set (Map theValues) throws ModuleException {
     try {
       Entity theEntity = theStorage.selectById((String)theValues.get("id"));
       if (theEntity == null)