@classmethod
def valueToString(cls, value):
    """Returns a string representation of value."""
    if isinstance(value, (list, tuple)):
        return cls._listToString(value)
    else:
        return str(value)
