def setID ( self, db ):
    if len(self.annidList) == 0: 
      # KLTODO Temp Function
      self.annidList.append( db.nextID() )
    else:
      db.setBatchID( self.annidList )
Returns a dictionary of {field_index: (field_index_other_table, other_table)}
dataset/ETHPy150Open neurodata/ndstore/ocpca/batchAnnotation.py/BatchAnnotation.setID--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/db/backends/postgresql/introspection.py/get_relations