<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reference(self, taskfileinfo, refobj):
 """Reference the given taskfile info and set the created reference on the refobj This will call :meth:`ReftypeInterface.reference`, then :meth:`ReftypeInterface.set_reference`. :param taskfileinfo: The taskfileinfo that holds the information for what to reference :type taskfileinfo: :class:`jukeboxcore.filesys.TaskFileInfo` :param refobj: the refobj that should represent the new reference :type refobj: refobj :returns: None :rtype: None :raises: None """

        inter = self.get_typ_interface(self.get_typ(refobj))
        ref = inter.reference(refobj, taskfileinfo)
        self.set_reference(refobj, ref)