@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 ItemProperty)) {
            return false;
        }
        ItemProperty other = (ItemProperty) object;
        if ((this.itemPropertyPK == null && other.itemPropertyPK != null) || (this.itemPropertyPK != null && !this.itemPropertyPK.equals(other.itemPropertyPK))) {
            return false;
        }
        return true;
    }