@staticmethod
def _store_map_from_type(item_type):
    """
        Return a list with the name of the workstep store corresponding to the item type give.
        :param item_type: The string type of the item. If 'all' all stores will be returned
        :return: str store name, for all item_types except 'all'. If item_type == 'all', a tuple of all the store
        names. If item_type is not recognized, returns None.
        """
    if not item_type or not isinstance(item_type, str):
        return None
    if 'Signal' in item_type:
        return 'sqTrendSeriesStore'
    if 'Condition' in item_type:
        return 'sqTrendCapsuleSetStore'
    if 'Scalar' in item_type:
        return 'sqTrendScalarStore'
    if 'Metric' in item_type:
        return 'sqTrendMetricStore'
    if 'Table' in item_type:
        return 'sqTrendTableStore'
    if item_type == 'all':
        return ('sqTrendSeriesStore', 'sqTrendCapsuleSetStore',
            'sqTrendScalarStore', 'sqTrendMetricStore', 'sqTrendTableStore')
    else:
        return None
