Added the convertEntityToData method to the EntityAdapter interface.