@Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof SampleAttribute)) {
            return false;
        }
        SampleAttribute other = (SampleAttribute) object;
        if ((this.sampleAttributePK == null && other.sampleAttributePK != null) || (this.sampleAttributePK != null && !this.sampleAttributePK.equals(other.sampleAttributePK))) {
            return false;
        }
        return true;
    }