}
protected abstract boolean test(ReadGraph graph, Resource element) throws DatabaseException;
+
+ @Override
+ public int hashCode() {
+ return this.getClass().hashCode();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ return obj.getClass().equals(this.getClass());
+ }
}
* @author Tuukka Lehtonen
*/
public class DiagramGroup implements Group {
-
+
+
@Override
public String toString() {
return "diagram";
public void trackItems(RequestProcessor processor, Resource runtimeDiagram, SetListener<Resource> listener) {
listener.add(runtimeDiagram);
}
+
+ @Override
+ public int hashCode() {
+ return this.getClass().hashCode();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ return obj.getClass().equals(this.getClass());
+ }
}