'Class representation.'

def __repr__(self):

    s = ('<DBCol(name="%s",    %s' % (self.name, _strMap[self.kind]))
    if self.index:
        s += (',    index="%s"' % self.index)
    if self.indexLen:
        s += (',    indexLen=%d' % self.indexLen)
    if self.foreignKey:
        s += (',    foreignKey="%s"' % self.foreignKey)
    for param in self.params:
        val = self.params[param]
        if isinstance(val, (unicode, str)):
            val = (u'"%s"' % val)
        s += (',    %s=%s' % (param, val))
    s += ')>'
    return s
