boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; AbstractExternalSystemTask task = (AbstractExternalSystemTask)o; return myId.equals(task.myId) && myExternalSystemId.equals(task.myExternalSystemId); }