ef METHOD_NAME(self, equipment):
   """Store a new or update an existing equipment item.
   The stored object is returned."""
   logging.debug("Storing equipment item.")
   try:
      self._ddbb.session.add(equipment)
      self._ddbb.session.commit()
   except IntegrityError:
      raise EquipmentServiceException("An equipment item already exists with description '{0}'".format(equipment.description))
   return equipment