def write_routine_method(self, routine):
        """
        Returns a complete wrapper method.

        :param dict[str,*] routine: The routine metadata.

        :rtype: str
        """
        if self._lob_as_string_flag:
            return self._write_routine_method_without_lob(routine)
        else:
            if self.is_lob_parameter(routine['parameters']):
                return self._write_routine_method_with_lob(routine)
            else:
                return self._write_routine_method_without_lob(routine)
Returns a complete wrapper method.

        :param dict[str,*] routine: The routine metadata.

        :rtype: str