'Set or replace all data elements. The given elements must be in a
list or set where each item is a data element (numeric, string, boolean, dateTime, timeSpan or enum)
Arguments:
datas -- A series of data elements.'

def set_datas(self, datas):

    self.del_datas()
    for data in datas:
        self.add_data(name=data['name'], typename=data._get_typename(), value=data['value'])
