Examples of DaoResourceGenerator


Examples of org.jboss.forge.addon.javaee.jpa.dao.DaoResourceGenerator

      return Results.success("Dao created");
   }

   private Set<JavaClassSource> generateDaos(DaoGenerationContext generationContext) throws Exception
   {
      DaoResourceGenerator selectedGenerator = generator.getValue();
      Set<JavaClassSource> classes = new HashSet<>();
      for (JavaClassSource target : targets.getValue())
      {
         generationContext.setEntity(target);
         List<JavaClassSource> artifacts = selectedGenerator.generateFrom(generationContext);
         classes.addAll(artifacts);
      }
      return classes;
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.