'Return the grouped value.'

def getGrouped(self):

    ret = bar.BasicBar(self.getDateTime(), self.__open, self.__high, self.__low, self.__close, self.__volume, self.__adjClose, self.__frequency)
    ret.setUseAdjustedValue(self.__useAdjValue)
    return ret
