Package org.jitterbit.integration.data.entity

Examples of org.jitterbit.integration.data.entity.IntegrationEntityId


            Application.getWorker().submitForParallel(task);
        }
    }

    private static IntegrationEntityId getSourceOrTargetIdImpl(LdapLocation loc) {
        IntegrationEntityId id = loc.getSourceId();
        if (id == null) {
            id = loc.getTargetId();
        }
        return id;
    }
View Full Code Here


                });
            }
        }

        private void displayResult(DebugSession session, TestResult result) {
            IntegrationEntityId id = getIdOfEntityToDisplay(session, result);
            if (id instanceof ScriptId) {
                displayScript((ScriptId) id, result);
            } else if (id instanceof TransformationId) {
                displayTransformation(session, (TransformationId) id, result);
            }
View Full Code Here

                displayTransformation(session, (TransformationId) id, result);
            }
        }

        private IntegrationEntityId getIdOfEntityToDisplay(DebugSession session, TestResult result) {
            IntegrationEntityId id = null;
            BreakLocation location = result.getCurrentLocation();
            if (location != null) {
                id = location.getIntegrationEntityId();
            } else if (session != null) {
                id = session.getDebugeeId();
View Full Code Here

            }
            return all;
        }

        private String getGuid(IntegrationEntity item) {
            IntegrationEntityId guid = item.getID();
            String prefix = GrammarUtils.idToPrefix(guid.getClass());
            return (prefix != null) ? prefix + guid : null;
        }
View Full Code Here

        System.out.println("ID = " + id);
        return id;
    }

    private static void testGetGuid(GuidToIdMapper mapper, Long id) throws GuidToIdMappingException {
        IntegrationEntityId guid = mapper.getGuid(EntityType.Source, id);
        System.out.println(guid.getEntityType() + " " + guid);
    }
View Full Code Here

        }

        @Override
        public void actionPerformed(ActionEvent e) {
            JMenuItem source = (JMenuItem) e.getSource();
            IntegrationEntityId id = (IntegrationEntityId) source.getClientProperty(ID_KEY);
            T selected = project.getItemLookup().getEntity(id, clazz);
            if (selected != null) {
                callback.handle(selected);
            }
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.IntegrationEntityId

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.