Package org.jitterbit.integration.data.structure

Examples of org.jitterbit.integration.data.structure.DatabaseStructure


                ldapStruct.setLdapLocation((LdapLocation) replacement.getLocation());
            }
            break;
        }
        case Database: {
            DatabaseStructure dbStruct = (DatabaseStructure) output;
            TargetId targetId = dbStruct.getTargetId();
            Target replacement = (Target) service.getReplacement(targetId);
            if (replacement != null) {
                tf.setTargetId(replacement.getID());
                dbStruct.setTargetId(replacement.getID());
                dbStruct.setDbLocation((DatabaseLocation) replacement.getLocation());
            }
            break;
        }
        default:
            // No processing needed
View Full Code Here


    private static DatabaseStructure createDatabaseStructure(DataLocation loc) {
        if (!(loc instanceof DatabaseLocation)) {
            throw new RuntimeException("Unexpected source type: Expected Database, found " + loc.getDataLocationType());
        }
        return new DatabaseStructure((DatabaseLocation) loc);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.structure.DatabaseStructure

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.