Package org.jitterbit.integration.data.entity.id

Examples of org.jitterbit.integration.data.entity.id.SourceId


            tf.setInputStructure(replacement.getOutputStructure());
            break;
        }
        case LDAP: {
            LdapStructure ldapStruct = (LdapStructure) input;
            SourceId ldapSourceId = ldapStruct.getLdapLocation().getSourceId();
            Source replacement = (Source) service.getReplacement(ldapSourceId);
            if (replacement != null) {
                tf.setSourceId(replacement.getID());
                ldapStruct.setLdapLocation((LdapLocation) replacement.getLocation());
            }
            break;
        }
        case Database: {
            DatabaseStructure dbStruct = (DatabaseStructure) input;
            SourceId dbSourceId = dbStruct.getSourceId();
            Source replacement = (Source) service.getReplacement(dbSourceId);
            if (replacement != null) {
                tf.setSourceId(replacement.getID());
                dbStruct.setSourceId(replacement.getID());
                dbStruct.setDbLocation((DatabaseLocation) replacement.getLocation());
View Full Code Here


        operation = op;
        collector = col;
    }

    public void validate() {
        SourceId srcId = operation.getSourceId();
        if (isSourceFromPreviousOperation(srcId)) {
            SourceFromPreviousOperationValidator validator = new SourceFromPreviousOperationValidator(operation, collector);
            validator.validate();
        } else if (isSourceFromHttpEndpoint(srcId)) {
            SourceFromHttpEndpointValidator validator = new SourceFromHttpEndpointValidator(operation, collector);
View Full Code Here

            }
            switch (type) {
            case SCRIPT:
                return new ScriptId(contentId);
            case SOURCE:
                return new SourceId(contentId);
            case TARGET:
                return new TargetId(contentId);
            case TRANSFORMATION:
                return new TransformationId(contentId);
            case WEBSERVICECALL:
View Full Code Here

            KongaDbUtils.close(conn);
        }
    }

    private static Long testGetId(GuidToIdMapper mapper) throws GuidToIdMappingException {
        Long id = mapper.getId(new SourceId("d1b5723a-3aaa-4205-846d-dcca925e901e"));
        System.out.println("ID = " + id);
        return id;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.id.SourceId

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.