Package org.jitterbit.integration.data.location

Examples of org.jitterbit.integration.data.location.DataLocation


            return HttpVerb.class;
        }

        @Override
        public HttpVerb getValue(IntegrationEntity entity) {
            DataLocation location = ((Locatable) entity).getLocation();
            return ((HttpLocation) location).getHttpVerb();
        }
View Full Code Here


            return ((HttpLocation) location).getHttpVerb();
        }

        @Override
        public void setValue(IntegrationEntity entity, HttpVerb value) {
            DataLocation location = ((Locatable) entity).getLocation();
            ((HttpLocation) location).setHttpVerb(value);
        }
View Full Code Here

        super(worker, EntityType.Source, Source.class);
    }

    @Override
    protected void configureDestination(Target target, Source source) {
        DataLocation sourceLocation = LocatableTransformHelper.cloneLocation(target);
        source.setLocation(sourceLocation);
    }
View Full Code Here

        super(worker, EntityType.Target, Target.class);
    }

    @Override
    protected void configureDestination(Source source, Target target) {
        DataLocation targetLocation = LocatableTransformHelper.cloneLocation(source);
        target.setLocation(targetLocation);
    }
View Full Code Here

     */
    public SourcePage(Source source) {
        super(new IntegrationEntityPageModel(source));
        iconPrefListener = new IconPreferenceListener();
        setHelpId(DEFAULT_HELP_ID);
        DataLocation loc = source.getLocation();
        if (loc != null) {
            setCurrentLocationType(loc.getDataLocationType());
        }
    }
View Full Code Here

            SourceId sourceId = tx.getSourceId();
            if (sourceId != null) {
                IntegrationEntityLookup itemLookup = wizard.getItemLookup();
                Source src = itemLookup.getEntity(sourceId, Source.class);
                if (src != null) {
                    DataLocation location = src.getLocation();
                    if (location instanceof LdapLocation) {
                        pages.setSelectedLocation((LdapLocation) location);
                    }
                }
            }
View Full Code Here

        }
        return false;
    }

    private boolean accept(Source source) {
        DataLocation loc = source.getLocation();
        return loc instanceof LdapLocation;
    }
View Full Code Here

        }
        return false;
    }
   
    private boolean accept(Target target) {
        DataLocation loc = target.getLocation();
        return loc instanceof LdapLocation;
    }
View Full Code Here

        SourceId srcId = transformation.getSourceId();
        if (srcId != null) {
            Source src = dataLookup.getEntity(srcId, Source.class);
            if (src != null) {
                collectedLinks.add(new StrongEntityLink(src, transformation));
                DataLocation loc = src.getLocation();
                if (loc instanceof DatabaseLocation) {
                    collectSourceDbLocationAndStructureLink(src);
                } else if (loc instanceof LdapLocation) {
                    collectSourceLdapLocationAndStructureLink(src);
                }
View Full Code Here

        }
    }

    private void collectSourceDbLocationAndStructureLink(Source src) {
        DataStructure input = transformation.getInputStructure();
        DataLocation loc = src.getLocation();
        dbStructureAndLocationSanityCheck(input, loc, "input");
        DatabaseLocation dbLoc = (DatabaseLocation) loc;
        DatabaseStructure dbStruct = (DatabaseStructure) input;
        dbStruct.setDbLocation(dbLoc);
        // HACK: This is part of a hack described in more detail in the DatabaseStructure class:
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.location.DataLocation

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.