Package org.jitterbit.integration.data.entity.link

Examples of org.jitterbit.integration.data.entity.link.EntityLink


     */
    public void addLink(EntityLink link) {
        IntegrationEntity main = link.getMainObject();
        IntegrationEntity dep = link.getDependantObject();
        // Delete the old link, if there is one:
        EntityLink old = mainToDependants.get(main, dep);
        if (old != null) {
            removeLink(old);
        }
        mainToDependants.put(main, dep, link);
        dependantToMains.put(dep, main, link);
View Full Code Here


            collectTargetDocumentLink(factory);
        }
    }

    private void onSameSourceAndTargetDocument(TransformationDocumentLinkFactory linkFactory) {
        EntityLink link = linkFactory.getInputAndOutputLink();
        if (link != null) {
            collectedLinks.add(link);
            TextDocument doc = (TextDocument) link.getMainObject();
            inputStructure = doc.getDataStructure();
            outputStructure = doc.getDataStructure();
        }
    }
View Full Code Here

            outputStructure = doc.getDataStructure();
        }
    }

    private void collectSourceDocumentLink(TransformationDocumentLinkFactory linkFactory) {
        EntityLink link = linkFactory.getInputLink();
        if (link != null) {
            collectedLinks.add(link);
            TextDocument doc = (TextDocument) link.getMainObject();
            inputStructure = doc.getDataStructure();
        }
    }
View Full Code Here

            inputStructure = doc.getDataStructure();
        }
    }

    private void collectTargetDocumentLink(TransformationDocumentLinkFactory linkFactory) {
        EntityLink link = linkFactory.getOutputLink();
        if (link != null) {
            collectedLinks.add(link);
            TextDocument doc = (TextDocument) link.getMainObject();
            outputStructure = doc.getDataStructure();
        }
    }
View Full Code Here

            collectTargetJmsMessageLink(linkFactory);
        }
    }

    private void onSameSourceAndTargetJmsMessage(TransformationJmsMessageLinkFactory linkFactory) {
        EntityLink link = linkFactory.getInputAndOutputLink();
        if (link != null) {
            collectedLinks.add(link);
        }
    }
View Full Code Here

            collectedLinks.add(link);
        }
    }

    private void collectSourceJmsMessageLink(TransformationJmsMessageLinkFactory linkFactory) {
        EntityLink link = linkFactory.getInputLink();
        if (link != null) {
            collectedLinks.add(link);
        }
    }
View Full Code Here

            collectedLinks.add(link);
        }
    }

    private void collectTargetJmsMessageLink(TransformationJmsMessageLinkFactory linkFactory) {
        EntityLink link = linkFactory.getOutputLink();
        if (link != null) {
            collectedLinks.add(link);
        }
    }
View Full Code Here

    private void collectPipelineLinks() {
        if (pipeline != null) {
            for (PipelineActivity a : pipeline.getActivities()) {
                if (a instanceof IntegrationEntityPipelineActivity) {
                    EntityLink link = ((IntegrationEntityPipelineActivity) a).getLinkToOperation(operation);
                    if (link != null) {
                        links.add(link);
                    }
                }
            }
View Full Code Here

    private void collectSiblingLinks() {
        for (OperationId opId : operation.getSiblingOperations()) {
            Operation sibling = dataLookup.getEntity(opId, Operation.class);
            if (sibling != null) {
                EntityLink link = new OperationSiblingLink(sibling, operation);
                links.add(link);
            } else {
                LinkUtils.logMissingLink(operation, EntityType.Operation, opId);
            }
        }
View Full Code Here

            collectFailureOperationLink(linkFactory);
        }
    }

    private void onSameSuccessAndFailureOperation(OperationOperationLinkFactory linkFactory) {
        EntityLink link = linkFactory.createSuccessAndFailureLink();
        if (link != null) {
            links.add(link);
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.link.EntityLink

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.