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