code: public String getRelationshipName()
      {
          String ret;
          if (tableAB == null /* && multipleRelationsBetweenTables */)
          {
              ret = concatenateColumnNames(this);
              ret = ret.substring(1); // remove leading _.
          }
          else // Many-to-Many relationship
          {
              ForeignKey[] fks = tableAB.getForeignKeys().values().toArray(new ForeignKey[2]);
              ret = ForeignKey.concatenateColumnNames(fks[1]).substring(1);
          }
  
          String multiplicity = getTableBMultiplicity();
          if (!multiplicity.equals("one"))
              ret = StringUtility.englishPluralize(ret);
          return ret;
      }
docs: TableB as property name in TableA