Package org.jitterbit.integration.data.location

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


        TargetId tgtId = transformation.getTargetId();
        if (tgtId != null) {
            Target tgt = dataLookup.getEntity(tgtId, Target.class);
            if (tgt != null) {
                collectedLinks.add(new StrongEntityLink(tgt, transformation));
                DataLocation loc = tgt.getLocation();
                if (loc instanceof DatabaseLocation) {
                    collectTargetDbLocationAndStructureLink(tgt);
                } else if (loc instanceof LdapLocation) {
                    collectTargetLdapLocationAndStructureLink(tgt);
                }
View Full Code Here


        }
    }

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

            // is used when defining the transformation:
            TargetId tfTgtId = transformation.getTargetId();
            if (tfTgtId != null) {
                return tfTgtId.equals(target.getID());
            }
            DataLocation loc = target.getLocation();
            return (loc != null) && output.isCompatibleWith(loc);
        }
    }
View Full Code Here

   
    private boolean isTargetOfType(DataLocationType type) {
        if (target == null) {
            return false;
        }
        DataLocation location = target.getLocation();
        if (location == null) {
            return false;
        }
        return location.getDataLocationType() == type;
    }
View Full Code Here

            // transformation:
            SourceId tfSrcId = transformation.getSourceId();
            if (tfSrcId != null) {
                return tfSrcId.equals(source.getID());
            }
            DataLocation loc = source.getLocation();
            return (loc != null) && input.isCompatibleWith(loc);
        }
    }
View Full Code Here

   
    private boolean isSourceOfType(DataLocationType type) {
        if (source == null) {
            return false;
        }
        DataLocation location = source.getLocation();
        if (location == null) {
            return false;
        }
        return location.getDataLocationType() == type;
    }
View Full Code Here

            TargetId targetId = tx.getTargetId();
            if (targetId != null) {
                IntegrationEntityLookup itemLookup = wizard.getItemLookup();
                Target tgt = itemLookup.getEntity(targetId, Target.class);
                if (tgt != null) {
                    DataLocation location = tgt.getLocation();
                    if (location instanceof LdapLocation) {
                        pages.setSelectedLocation((LdapLocation) location);
                    }
                }
            }
View Full Code Here

TOP

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

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.