Added the convertHashMapSetToEntitySet method inside the adapter