private Collection<File> generatePC(IASEjbCMPEntityDescriptor ejbcmp,
File srcout, File classout)
throws IOException {
ArrayList<File> fileList = new ArrayList<File>();
Main gen = new Main(ejbModel, srcout);
String className = nameMapper.getPersistenceClassForEjbName(ejbcmp.getName());
if (className != null) {
// generate PC class
//@olsen, 4653156: the enhancer-generator deals with class names
// in JVM format, i.e., with '/' for '.' as separator
String jvmClassName = className.replace('.', '/');
File file = gen.generate(jvmClassName);
fileList.add(file);
// write mapping file
MappingClassElement mappingClass
= model.getMappingClass(className);