Package org.jitterbit.integration.data.entity.transformation

Examples of org.jitterbit.integration.data.entity.transformation.TransformationVariables


        @Override
        public void redo() throws CannotRedoException {
            super.redo();
            updateTreeMapper(newMappings, newRenamedNodes);
            Transformation tf = treeMapper.getTransformation();
            TransformationVariables des = treeMapper.getDataElements();
            mappingDiff.redo(tf, des);
        }
View Full Code Here


        @Override
        public void undo() throws CannotUndoException {
            super.undo();
            updateTreeMapper(previousMappings, previousRenamedNodes);
            Transformation tf = treeMapper.getTransformation();
            TransformationVariables des = treeMapper.getDataElements();
            mappingDiff.undo(tf, des);
        }
View Full Code Here

    }

    private void removeUncommitedDataElements() {
        Transformation tf = getObject();
        if (!tf.isDeleted()) {
            TransformationVariables des = getTreeMapper().getDataElements();
            des.scanTransformation(tf);
        }
    }
View Full Code Here

            toReplace.setNewExpression(expression);
            if (!silently && !(old.equals(expression))) {
                treeMapper.setDirty(true);
            }
        }
        TransformationVariables projectVariables = treeMapper.getDataElements();
        projectVariables.scanMapping(treeMapper.getTransformation(), toReplace);
        Node targetNode = targetTreeComponent.findNode_expandTreeIfNotExist(target);
        targetNode.setFormulaFlag(treeMapper.checkIfFormula());
        try {
          treeMapper.checkDataTypeWarningForOneToOneMapping(targetNode);
          targetNode.updateMappingKits(expression);
View Full Code Here

                e.printStackTrace();
            }
        }

        private void removeMappingFromProjectVariables(NodeMapping mapping) {
            TransformationVariables projectVariables = treeMapper.getDataElements();
            projectVariables.removeMapping(treeMapper.getTransformation(), mapping);
        }
View Full Code Here

        outputLink = StructureLink.none();
        mode = TreeMapperMode.SIMPLE;
        sourceDataTree = new DataTree(this);
        targetDataTree = new DataTree(this);
        GlobalDataElements des = getTreeMapperContainer().getProject().getGlobalDataElements();
        projectVariables = new TransformationVariables(des);
        BooleanSourceAndTargetSetting simpleNodeDisplaySettings = restoreSimpleNodeDisplaySettings();
        BooleanSourceAndTargetSetting simpleXmlElementDisplaySettings = restoreSimpleXmlElementDisplaySettings();
        BooleanSourceAndTargetSetting showMappedNodesOnlySettings = restoreShowMappedNodesOnlySettings();
        m_sourceTreeComponent = new TreeMapperSourceTree(this, simpleNodeDisplaySettings.forSource(),
                        simpleXmlElementDisplaySettings.forSource(), showMappedNodesOnlySettings.forSource());
View Full Code Here

        ScriptVariables decorator = new ScriptVariables(this);
        decorator.scanScript(script);
    }

    private void scanTransformation(Transformation tf) {
        TransformationVariables decorator = new TransformationVariables(this);
        decorator.scanTransformation(tf);
    }
View Full Code Here

    private void removeUnsavedDataElements() {
        NodePath targetPath = (mapping != null ? mapping.getTargetPath() :
            (targetDE != null ? new NodePath(targetDE) : null));
        if (targetPath != null) {
            TransformationVariables des = treeMapper.getDataElements();
            des.scanMapping(treeMapper.getTransformation(), targetPath, originalExpression);
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.transformation.TransformationVariables

Copyright © 2018 www.massapicom. 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.