public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ModuleInstance)) return false; ModuleInstance other = (ModuleInstance) o; if (id != 0 && id == other.getId()) return true; return getClass().getName().equals(other.getClass().getName()) && processInstance.equals(other.getProcessInstance()); }
public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ModuleInstance)) return false; ModuleInstance other = (ModuleInstance) o; if (id != 0 && id == other.getId()) return true; return getClass().getName().equals(other.getClass().getName()) && processInstance.equals(other.getProcessInstance()); }
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()); }
public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof Token)) return false; Token other = (Token) o; if (id != 0 && id == other.getId()) return true; return (name != null ? name.equals(other.getName()) : other.getName() == null) && (parent != null ? parent.equals(other.getParent()) : processInstance.equals(other.getProcessInstance())); }
public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof Token)) return false; Token other = (Token) o; if (id != 0 && id == other.getId()) return true; return (name != null ? name.equals(other.getName()) : other.getName() == null) && (parent != null ? parent.equals(other.getParent()) : processInstance.equals(other.getProcessInstance())); }