Created the convertEntityToHashMapRepresentation method inside the ConcreteEntityAdapter class.