Examples of addEmbeddables()


Examples of org.apache.cayenne.gen.ClassGenerationAction.addEmbeddables()

            ClassGenerationAction generatorAction = createGeneratorAction();
            generatorAction.setLogger(logger);
            generatorAction.setTimestamp(map.lastModified());
            generatorAction.setDataMap(dataMap);
            generatorAction.addEntities(filterAction.getFilteredEntities(dataMap));
            generatorAction.addEmbeddables(filterAction.getFilteredEmbeddables(dataMap));
            generatorAction.addQueries(dataMap.getQueries());
            generatorAction.execute();
        }
        catch (Exception e) {
            throw new BuildException(e);
View Full Code Here

Examples of org.apache.cayenne.gen.ClassGenerationAction.addEmbeddables()

            ClassGenerationAction generatorAction = createGeneratorAction();
            generatorAction.setLogger(logger);
            generatorAction.setTimestamp(map.lastModified());
            generatorAction.setDataMap(dataMap);
            generatorAction.addEntities(filterAction.getFilteredEntities(dataMap));
            generatorAction.addEmbeddables(filterAction.getFilteredEmbeddables(dataMap));
            generatorAction.execute();
        }
        catch (Exception e) {
            throw new BuildException(e);
        }
View Full Code Here

Examples of org.apache.cayenne.gen.ClassGenerationAction.addEmbeddables()

      generator.setTimestamp(map.lastModified());
      generator.setDataMap(dataMap);
      generator.addEntities(filterAction.getFilteredEntities(dataMap));
      //ksenia khailenko 15.10.2010
      //TODO add the "includeEmbeddables" and "excludeEmbeddables" attributes
      generator.addEmbeddables(dataMap.getEmbeddables());
      //TODO add the "includeQueries" and "excludeQueries" attributes
      generator.addQueries(dataMap.getQueries());
      generator.execute();
    } catch (Exception e) {
      throw new MojoExecutionException("Error generating classes: ", e);
View Full Code Here

Examples of org.apache.cayenne.gen.ClassGenerationAction.addEmbeddables()

        ClassGenerationAction generator = newGenerator();
        generator.setArtifactsGenerationMode(mode);
        generator.setDataMap(getParentController().getDataMap());
        generator.addEntities(entities);
        generator.addEmbeddables(getParentController().getSelectedEmbeddables());
        generator.addQueries(getParentController().getDataMap().getQueries());

        // configure encoding from preferences
        Domain generatorPrefs = Application
                .getInstance()
View Full Code Here

Examples of org.apache.cayenne.gen.ClassGenerationAction.addEmbeddables()

      generator.setTimestamp(map.lastModified());
      generator.setDataMap(dataMap);
      generator.addEntities(filterAction.getFilteredEntities(dataMap));
      //ksenia khailenko 15.10.2010
      //TODO add the "includeEmbeddables" and "excludeEmbeddables" attributes
      generator.addEmbeddables(dataMap.getEmbeddables());
      //TODO add the "includeQueries" and "excludeQueries" attributes
      generator.addQueries(dataMap.getQueries());
      generator.execute();
    } catch (Exception e) {
      throw new MojoExecutionException("Error generating classes: ", e);
View Full Code Here

Examples of org.apache.cayenne.gen.ClassGenerationAction.addEmbeddables()

        ClassGenerationAction generator = newGenerator();
        generator.setArtifactsGenerationMode(mode);
        generator.setDataMap(getParentController().getDataMap());
        generator.addEntities(entities);
        generator.addEmbeddables(getParentController().getSelectedEmbeddables());
        generator.addQueries(getParentController().getDataMap().getQueries());

        Preferences preferences = application.getPreferencesNode(
                GeneralPreferences.class,
                "");
View Full Code Here

Examples of org.apache.cayenne.gen.ClassGenerationAction.addEmbeddables()

            ClassGenerationAction generatorAction = createGeneratorAction();
            generatorAction.setLogger(logger);
            generatorAction.setTimestamp(map.lastModified());
            generatorAction.setDataMap(dataMap);
            generatorAction.addEntities(filterAction.getFilteredEntities(dataMap));
            generatorAction.addEmbeddables(filterAction.getFilteredEmbeddables(dataMap));
            generatorAction.addQueries(dataMap.getQueries());
            generatorAction.execute();
        }
        catch (Exception e) {
            throw new BuildException(e);
View Full Code Here

Examples of org.apache.cayenne.gen.ClassGenerationAction.addEmbeddables()

      generator.setDataMap(dataMap);
      generator.addEntities(filterAction.getFilteredEntities(dataMap));
      // ksenia khailenko 15.10.2010
      // TODO add the "includeEmbeddables" and "excludeEmbeddables"
      // attributes
      generator.addEmbeddables(dataMap.getEmbeddables());
      // TODO add the "includeQueries" and "excludeQueries" attributes
      generator.addQueries(dataMap.getQueries());
      generator.execute();
    } catch (Exception e) {
      throw new MojoExecutionException("Error generating classes: ", e);
View Full Code Here

Examples of org.apache.cayenne.gen.ClassGenerationAction.addEmbeddables()

      ClassGenerationAction generator = createGenerator();
      generator.setLogger(logger);
      generator.setTimestamp(map.lastModified());
      generator.setDataMap(dataMap);
      generator.addEntities(filterAction.getFilteredEntities(dataMap));
      generator.addEmbeddables(filterAction
          .getFilteredEmbeddables(dataMap));
      generator.execute();
    } catch (Exception e) {
      throw new MojoExecutionException("Error generating classes: ", e);
    }
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.