@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Image other = (Image) obj;
        if (this.imageId != other.imageId) {
            return false;
        }
        if (!this.path.equals(other.path)) {
            return false;
        }
        if (!this.title.equals(other.title)) {
            return false;
        }
        if (this.projectId != other.projectId) {
            return false;
        }
        if (this.currentUser != other.currentUser) {
            return false;
        }
        return true;
    }