1 package org.simantics.document.server.handler;
3 public abstract class AbstractResponseHandler extends AbstractEventHandler {
5 private String expression;
7 public AbstractResponseHandler(String expression) {
8 this.expression = expression;
12 public int hashCode() {
15 result = prime * result + ((expression == null) ? 0 : expression.hashCode());
20 public boolean equals(Object obj) {
25 if (getClass() != obj.getClass())
27 AbstractResponseHandler other = (AbstractResponseHandler) obj;
28 if (expression == null) {
29 if (other.expression != null)
31 } else if (!expression.equals(other.expression))