<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete(self, refobj):
 """Delete the given refobj and the contents of the entity :param refobj: the refobj to delete :type refobj: refobj :returns: None :rtype: None :raises: None """

        i = self.get_typ_interface(self.get_typ(refobj))
        i.delete(refobj)
        self.delete_refobj(refobj)