Index: trunk/quest-plugin-php/src/main/java/de/ugoe/cs/quest/plugin/php/eventcore/PHPEventTarget.java
===================================================================
--- trunk/quest-plugin-php/src/main/java/de/ugoe/cs/quest/plugin/php/eventcore/PHPEventTarget.java	(revision 667)
+++ trunk/quest-plugin-php/src/main/java/de/ugoe/cs/quest/plugin/php/eventcore/PHPEventTarget.java	(revision 681)
@@ -1,2 +1,3 @@
+
 package de.ugoe.cs.quest.plugin.php.eventcore;
 
@@ -49,4 +50,9 @@
     }
 
+    @Override
+    public String getStringIdentifier() {
+        return this.toString();
+    }
+
     /*
      * (non-Javadoc)
@@ -59,3 +65,35 @@
     }
 
+    /*
+     * (non-Javadoc)
+     * 
+     * @see java.lang.Object#equals()
+     */
+    @Override
+    public boolean equals(Object obj) {
+        if (obj instanceof PHPEventTarget) {
+            if (path != null) {
+                return path.equals(((PHPEventTarget) obj).path);
+            }
+            else {
+                return ((PHPEventTarget) obj).path == null;
+            }
+        }
+        return false;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see java.lang.Object#hashCode()
+     */
+    @Override
+    public int hashCode() {
+        int hash = 3;
+        if (path != null) {
+            hash = path.hashCode();
+        }
+        return hash;
+    }
+
 }
Index: trunk/quest-plugin-php/src/main/java/de/ugoe/cs/quest/plugin/php/eventcore/PHPEventType.java
===================================================================
--- trunk/quest-plugin-php/src/main/java/de/ugoe/cs/quest/plugin/php/eventcore/PHPEventType.java	(revision 667)
+++ trunk/quest-plugin-php/src/main/java/de/ugoe/cs/quest/plugin/php/eventcore/PHPEventType.java	(revision 681)
@@ -1,2 +1,3 @@
+
 package de.ugoe.cs.quest.plugin.php.eventcore;
 
@@ -27,5 +28,5 @@
      * </p>
      */
-    private String path;
+    private final String path;
 
     /**
@@ -34,5 +35,5 @@
      * </p>
      */
-    private List<String> postVars;
+    private final List<String> postVars;
 
     /**
@@ -41,5 +42,5 @@
      * </p>
      */
-    private List<String> getVars;
+    private final List<String> getVars;
 
     /**
@@ -89,3 +90,40 @@
     }
 
+    /*
+     * (non-Javadoc)
+     * 
+     * @see java.lang.Object#equals(java.lang.Object)
+     */
+    @Override
+    public boolean equals(Object obj) {
+        if (obj instanceof PHPEventType) {
+            PHPEventType other = (PHPEventType) obj;
+            return ((path == null && other.path == null) || path.equals(other.path)) &&
+                ((postVars == null && other.postVars == null) || postVars.equals(other.postVars)) &&
+                ((getVars == null && other.getVars == null) || getVars.equals(other.getVars));
+        }
+        return false;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see java.lang.Object#hashCode()
+     */
+    @Override
+    public int hashCode() {
+        int hash = 17;
+        int multiplier = 7;
+        if (path != null) {
+            hash = hash * multiplier + path.hashCode();
+        }
+        if (postVars != null) {
+            hash = hash * multiplier + postVars.hashCode();
+        }
+        if (getVars != null) {
+            hash = hash * multiplier + getVars.hashCode();
+        }
+        return hash;
+    }
+
 }
