<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_parameter(self, var):
 """ This method supports the functional tags by providing the actual values in the function as list of dict in case of table type parameter or as nested dict in case of decision diagram """

        parameter = []

        for parameter_tag in var.findall('Parameter'):
            parameter_type = 'TBL'
            if parameter_tag.get('type') is not None:
                parameter_type = parameter_tag.get('type')
            if parameter_type == 'TBL':
                parameter = self.get_parameter_tbl(parameter_tag)
            elif parameter_type == 'DD':
                parameter = defaultdict(list)
                parameter = self.get_parameter_dd(parameter_tag)

        return parameter