*
* @param type The mapped superclass class
* @return The external form wrapping the given Java type
*/
public IMappedSuperclass addMappedSuperclass(Class<?> type) {
IMappedSuperclass mappedSuperclass = buildMappedSuperclass(type);
mappedSuperclasses.put(type.getName(), mappedSuperclass);
managedTypes.put(type.getName(), mappedSuperclass);
return mappedSuperclass;
}