Examples of forwardField()


Examples of org.openengsb.core.ekb.api.transformation.TransformationDescription.forwardField()

        desc.forwardField("shared", "shared");
        desc.setId("BtoEO");
        descriptions.add(desc);
        desc = new TransformationDescription(getEOModelDescription(), getSourceModelADescription());
        desc.forwardField("nameA", "name");
        desc.forwardField("shared", "shared");
        desc.setId("EOtoA");
        descriptions.add(desc);
        desc = new TransformationDescription(getEOModelDescription(), getSourceModelBDescription());
        desc.forwardField("nameB", "name");
        desc.forwardField("shared", "shared");
View Full Code Here

Examples of org.openengsb.core.ekb.api.transformation.TransformationDescription.forwardField()

        desc.forwardField("nameA", "name");
        desc.forwardField("shared", "shared");
        desc.setId("EOtoA");
        descriptions.add(desc);
        desc = new TransformationDescription(getEOModelDescription(), getSourceModelBDescription());
        desc.forwardField("nameB", "name");
        desc.forwardField("shared", "shared");
        desc.setId("EOtoB");
        descriptions.add(desc);
        return descriptions;
    }
View Full Code Here

Examples of org.openengsb.core.ekb.api.transformation.TransformationDescription.forwardField()

        desc.forwardField("shared", "shared");
        desc.setId("EOtoA");
        descriptions.add(desc);
        desc = new TransformationDescription(getEOModelDescription(), getSourceModelBDescription());
        desc.forwardField("nameB", "name");
        desc.forwardField("shared", "shared");
        desc.setId("EOtoB");
        descriptions.add(desc);
        return descriptions;
    }
View Full Code Here

Examples of org.openengsb.core.ekb.api.transformation.TransformationDescription.forwardField()

    @Test
    public void testIfSimplePropertyConnectionWorks_shouldWork() throws Exception {
        TransformationDescription description =
            new TransformationDescription(getModelADescription(), getModelBDescription());
        description.forwardField("idA", "idB");
        description.forwardField("idA", "testB");
        description.forwardField("testA", "testB");
        Map<String, Set<String>> result = calculator.getPropertyConnections(description);
        assertThat(result.get("idA").contains("idB"), is(true));
        assertThat(result.get("idA").contains("testB"), is(true));
View Full Code Here

Examples of org.openengsb.core.ekb.api.transformation.TransformationDescription.forwardField()

    @Test
    public void testIfSimplePropertyConnectionWorks_shouldWork() throws Exception {
        TransformationDescription description =
            new TransformationDescription(getModelADescription(), getModelBDescription());
        description.forwardField("idA", "idB");
        description.forwardField("idA", "testB");
        description.forwardField("testA", "testB");
        Map<String, Set<String>> result = calculator.getPropertyConnections(description);
        assertThat(result.get("idA").contains("idB"), is(true));
        assertThat(result.get("idA").contains("testB"), is(true));
        assertThat(result.get("idA").size(), is(2));
View Full Code Here

Examples of org.openengsb.core.ekb.api.transformation.TransformationDescription.forwardField()

    public void testIfSimplePropertyConnectionWorks_shouldWork() throws Exception {
        TransformationDescription description =
            new TransformationDescription(getModelADescription(), getModelBDescription());
        description.forwardField("idA", "idB");
        description.forwardField("idA", "testB");
        description.forwardField("testA", "testB");
        Map<String, Set<String>> result = calculator.getPropertyConnections(description);
        assertThat(result.get("idA").contains("idB"), is(true));
        assertThat(result.get("idA").contains("testB"), is(true));
        assertThat(result.get("idA").size(), is(2));
        assertThat(result.get("testA").contains("testB"), is(true));
View Full Code Here

Examples of org.openengsb.core.ekb.api.transformation.TransformationDescription.forwardField()

    @Test
    public void testIfSimplePropertyConnectionWorksWithTemporaryFields_shouldWork() throws Exception {
        TransformationDescription description =
            new TransformationDescription(getModelADescription(), getModelBDescription());
        description.forwardField("idA", "#A");
        description.forwardField("#A", "#B");
        description.forwardField("#B", "#C");
        description.forwardField("#C", "#D");
        description.forwardField("#D", "#E");
        description.forwardField("#E", "#F");
View Full Code Here

Examples of org.openengsb.core.ekb.api.transformation.TransformationDescription.forwardField()

    @Test
    public void testIfSimplePropertyConnectionWorksWithTemporaryFields_shouldWork() throws Exception {
        TransformationDescription description =
            new TransformationDescription(getModelADescription(), getModelBDescription());
        description.forwardField("idA", "#A");
        description.forwardField("#A", "#B");
        description.forwardField("#B", "#C");
        description.forwardField("#C", "#D");
        description.forwardField("#D", "#E");
        description.forwardField("#E", "#F");
        description.forwardField("#F", "idB");
View Full Code Here

Examples of org.openengsb.core.ekb.api.transformation.TransformationDescription.forwardField()

    public void testIfSimplePropertyConnectionWorksWithTemporaryFields_shouldWork() throws Exception {
        TransformationDescription description =
            new TransformationDescription(getModelADescription(), getModelBDescription());
        description.forwardField("idA", "#A");
        description.forwardField("#A", "#B");
        description.forwardField("#B", "#C");
        description.forwardField("#C", "#D");
        description.forwardField("#D", "#E");
        description.forwardField("#E", "#F");
        description.forwardField("#F", "idB");
        Map<String, Set<String>> result = calculator.getPropertyConnections(description);
View Full Code Here

Examples of org.openengsb.core.ekb.api.transformation.TransformationDescription.forwardField()

        TransformationDescription description =
            new TransformationDescription(getModelADescription(), getModelBDescription());
        description.forwardField("idA", "#A");
        description.forwardField("#A", "#B");
        description.forwardField("#B", "#C");
        description.forwardField("#C", "#D");
        description.forwardField("#D", "#E");
        description.forwardField("#E", "#F");
        description.forwardField("#F", "idB");
        Map<String, Set<String>> result = calculator.getPropertyConnections(description);
       
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.