@Override public boolean equals(Object obj) { if (this == obj) { return true; } if ((obj == null) || !(obj instanceof OperationScheduleEntity)) { return false; } final OperationScheduleEntity other = (OperationScheduleEntity) obj; return this.getJobId().equals(other.getJobId()); }