<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def addIndex(self, index):
 """ Adds the inputted index to this table schema. :param index | <orb.Index> """

        index.setSchema(self)
        self.__indexes[index.name()] = index