public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof Event)) return false; RuntimeAction other = (RuntimeAction) o; if (id != 0 && id == other.getId()) return true; return eventType.equals(other.getEventType()) && graphElement.equals(other.getGraphElement()) && processInstance.equals(other.getProcessInstance()); }
public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof RuntimeAction)) return false; RuntimeAction other = (RuntimeAction) o; if (id != 0 && id == other.getId()) return true; return eventType.equals(other.getEventType()) && graphElement.equals(other.getGraphElement()) && processInstance.equals(other.getProcessInstance()); }