code: public String getReverseRelationshipName()
      {
          String ret = "";
          if (tableAB == null)
          {
              if (multipleRelationsBetweenTables)  // foreignKey will be non-null since it applies only to one-to-X relation
              {
                  ret = concatenateColumnNames(this);
                  ret = ret.substring(1) + "_"; // remove leading _ and add trailing _.
              }
  
              ret += StringUtility.firstLetterToLower(tableA.getClassName());
          }
          else
          {
              ForeignKey[] fks = tableAB.getForeignKeys().values().toArray(new ForeignKey[2]);
              ret = ForeignKey.concatenateColumnNames(fks[0]).substring(1);
          }
          String multiplicity = getTableAMultiplicity();
          if (!multiplicity.equals("one"))
              ret = StringUtility.englishPluralize(ret);
  
          return ret;
      }
docs: TableA as property name in TableB