@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Record other = (Record) obj;
        if (this.recordId != other.recordId) {
            return false;
        }
        if (this.imageId != other.imageId) {
            return false;
        }
        if (this.fieldId != other.fieldId) {
            return false;
        }
        if (this.rowNumber != other.rowNumber) {
            return false;
        }
        if (!Objects.equals(this.value, other.value)) {
            return false;
        }
        return true;
    }