1 19 package org.netbeans.modules.j2ee.persistence.spi.entitymanagergenerator; 20 21 import org.netbeans.modules.j2ee.persistence.action.*; 22 import com.sun.source.tree.ClassTree; 23 import org.netbeans.api.java.source.TreeMaker; 24 import org.netbeans.api.java.source.WorkingCopy; 25 import org.netbeans.modules.j2ee.persistence.util.GenerationUtils; 26 import org.netbeans.modules.j2ee.persistence.dd.persistence.model_1_0.PersistenceUnit; 27 28 34 public interface EntityManagerGenerationStrategy { 35 36 void setTreeMaker(TreeMaker treeMaker); 37 38 void setClassTree(ClassTree classTree); 39 40 void setWorkingCopy(WorkingCopy workingCopy); 41 42 void setGenUtils(GenerationUtils genUtils); 43 44 void setPersistenceUnit(PersistenceUnit persistenceUnit); 45 46 void setGenerationOptions(GenerationOptions generationOptions); 47 48 52 ClassTree generate(); 53 } 54 | Popular Tags |