def _get_aliased_variables( role_name, dimension_variables):
    """
    Returns list of variable DTOs for a virtual/aliased Dimension "Role"

    Keyword Parameters:
    role_name  -- String, representing name of the OLAP dimension alias
      (Role) for which variables are to be returned.
    dimension_variables  -- list of 'variable' dto,representing the
      fields associated with the base Dimension which Role is an alias
      to.

    >>> from pprint import pprint
    >>> role_name = 'tuesdays_foo_dim'
    >>> var1 = { 'id': 1, 'column':'flavor', 'title':'Widget flavor'
    ...         ,'python_type': 'float', 'table': 'foo_dim'}
    >>> var2 = { 'id': 2, 'column':'brand', 'title':'Widget brand'
    ...         ,'python_type': 'str', 'table': 'foo_dim'}
    >>> aliased = _get_aliased_variables( role_name, [var1, var2])
    >>> pprint( aliased)
    [{'column': 'flavor',
      'id': 1,
      'python_type': 'float',
      'table': 'tuesdays_foo_dim',
      'title': 'Widget flavor'},
     {'column': 'brand',
      'id': 2,
      'python_type': 'str',
      'table': 'tuesdays_foo_dim',
      'title': 'Widget brand'}]
    """
    aliased_variables = []
    for dimension_variable in dimension_variables:
        new_variable = dict(dimension_variable)
        new_variable['table'] = role_name
        aliased_variables.append( new_variable)
    return aliased_variables