code: public Class<?> getGeneratedClass(TableRef tableRef) {
          TableMapping mc = mappedClasses.get(tableRef);
          return mc == null ? null : mc.getGeneratedClass();
      }
docs: Returns the <code>Class</code> object to which the specified table is mapped.
  
  @param tableRef the <code>TableRef</code> for the table
  @return the <code>Class</code> object generated from the table specifed by the <code>tableRef</code> parameter,
  or null if no such class has been generated.
  @throws IllegalStateException if the map() method has not been invoked first.