def _get_type_name(self, type_or_type_name):

        if isinstance(type_or_type_name, basestring):
            type_name = type_or_type_name

        else:
            type_name = "{module}.{name}".format(
                module = type_or_type_name.__module__,
                name   = type_or_type_name.__name__
            )

        return type_name

#### EOF ######################################################################
Returns the URL for the resource based on the ``self`` link.
dataset/ETHPy150Open enthought/traits/traits/adaptation/adaptation_offer.py/AdaptationOffer._get_type_name--crossover with--dataset/ETHPy150Open wharris/dougrain/dougrain/builder.py/Builder.url