def getCompareStrings(self, requestId=None, plain=False):
    result = {}
    repMap = self.getRepMap().copy()
    for validationId in self.filesToCompare:
        repMap['file'] = self.filesToCompare[validationId]
        if repMap['file'].startswith('/castor/'):
            repMap['file'] = ('rfio:%(file)s' % repMap)
        elif repMap['file'].startswith('/store/'):
            repMap['file'] = ('root://eoscms.cern.ch//eos/cms%(file)s' % repMap)
        if plain:
            result[validationId] = repMap['file']
        else:
            result[validationId] = ('%(file)s=%(title)s|%(color)s|%(style)s' % repMap)
    if (requestId == None):
        return result
    else:
        if (not ('.' in requestId)):
            requestId += ('.%s' % self.defaultReferenceName)
        if (not (requestId.split('.')[(- 1)] in result)):
            msg = ('could not find %s in reference Objects!' % requestId.split('.')[(- 1)])
            raise AllInOneError(msg)
        return result[requestId.split('.')[(- 1)]]
def getCompareStrings(self, requestId=None, plain=False):
    result = {}
    repMap = self.getRepMap().copy()
    for validationId in self.filesToCompare:
        repMap['file'] = self.filesToCompare[validationId]
        if repMap['file'].startswith('/castor/'):
            repMap['file'] = ('rfio:%(file)s' % repMap)
        elif repMap['file'].startswith('/store/'):
            repMap['file'] = ('root://eoscms.cern.ch//eos/cms%(file)s' % repMap)
        if plain:
            result[validationId] = repMap['file']
        else:
            result[validationId] = ('%(file)s=%(title)s|%(color)s|%(style)s' % repMap)
    if (requestId == None):
        return result
    else:
        if (not ('.' in requestId)):
            requestId += ('.%s' % self.defaultReferenceName)
        if (not (requestId.split('.')[(- 1)] in result)):
            msg = ('could not find %s in reference Objects!' % requestId.split('.')[(- 1)])
            raise AllInOneError(msg)
        return result[requestId.split('.')[(- 1)]]