Package org.jitterbit.integration.data.location

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


    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:
        dbStruct.setSourceId(src.getID());
    }
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:
        dbStruct.setTargetId(tgt.getID());
    }
View Full Code Here

TOP

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

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.