def getValueAt(self, rowIndex, columnIndex):
        messageEntry = self._db.getMessageByRow(rowIndex)
        if messageEntry:
            if columnIndex == 0:
                return str(messageEntry.getTableRow())
            elif columnIndex == 1:
                return messageEntry._name
            elif columnIndex == 2:
                return messageEntry._successRegex
            else:
                roleEntry = self._db.getRoleByMessageTableColumn(columnIndex)
                if roleEntry:
                    roleIndex = roleEntry._index
                    return roleIndex in messageEntry._roles and messageEntry._roles[roleIndex]
        return ""
dataset/ETHPy150Open SecurityInnovation/AuthMatrix/AuthMatrix.py/MessageTableModel.getValueAt/original