Fixed setIdEnte which takes an an instance of Ente instead of an integer.