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