#NEWLINE# def _key_referred_column_X_name( self , idx ) : #NEWLINE# #INDENT# fk = self . const . elements [ idx ] #NEWLINE# refs = fk . target_fullname . split ( '.' ) #NEWLINE# if ( len ( reftable ) == 3 ) : #NEWLINE# #INDENT# ( refschema , reftable , refcol ) = refs #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ( reftable , refcol ) = refs #NEWLINE# #UNINDENT# return refcol