1 19 20 package org.netbeans.modules.j2ee.persistence.wizard.fromdb; 21 22 import java.io.IOException ; 23 import java.util.Set ; 24 import org.netbeans.api.progress.ProgressHandle; 25 import org.openide.WizardDescriptor; 26 import org.openide.filesystems.FileObject; 27 28 36 public interface PersistenceGenerator { 37 38 void init(WizardDescriptor wiz); 39 40 void uninit(); 41 42 String getFQClassName(String tableName); 43 44 String generateEntityName(String className); 45 46 48 void generateBeans(final ProgressPanel progressPanel, 49 final RelatedCMPHelper helper, 50 final FileObject dbschemaFile, 51 final ProgressHandle handle, 52 boolean justTesting) throws IOException ; 53 54 Set createdObjects(); 55 } | Popular Tags |