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