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

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


        expression = createFunctionCall("RunOperation", opId);
        expression += ";";
        sourceId = new SourceId();
        expression += createFunctionCall("ReadFile", sourceId);
        expression += ";";
        targetId = new TargetId();
        expression += createFunctionCall("WriteFile", targetId);
        expression += ";";
        scriptId = new ScriptId();
        expression += createFunctionCall("RunScript", scriptId);
        expression += ";";
View Full Code Here


    }

    private LdapLocation getLocation() {
        LdapLocation loc = new LdapLocation();
        loc.setServer("windev");
        loc.setTargetId(new TargetId());
        return loc;
    }
View Full Code Here

    }

    private LdapLocation getLocation() {
        LdapLocation loc = new LdapLocation();
        loc.setServer("windev");
        loc.setTargetId(new TargetId());
        return loc;
    }
View Full Code Here

        Target target = getPreconfiguredTarget();
        return getDataStructureTypeFromLocatable(target);
    }

    private Target getPreconfiguredTarget() {
        TargetId targetId = transformation.getTargetId();
        return itemLookup != null ? itemLookup.getEntity(targetId, Target.class) : null;
    }
View Full Code Here

     * @see #setTargetId(TargetId)
     */
    public TargetId getTargetId() {
        String id = getProperty(TARGET_TARGET_ID, "");
        try {
            return new TargetId(id);
        } catch (IllegalArgumentException e) {
            return null;
        }
    }
View Full Code Here

     * This property corresponds to the <code>Target_TargetID</code> field in TransformationsTab.
     *
     * @see #getTargetId()
     */
    public void setTargetId(TargetId id) {
        TargetId old = getTargetId();
        if (!KongaID.areEqual(id, old)) {
            if (id == null) {
                setProperty(TARGET_TARGET_ID, "");
            } else {
                setProperty(TARGET_TARGET_ID, id.toString());
View Full Code Here

    }

    private void restoreTargetId(Persistor p) {
        String value = p.getString("targetId");
        if (value != null) {
            this.targetId = new TargetId(value);
        }
    }
View Full Code Here

     */
    public TargetId getTargetId() {
        String id = this.getProperty(TARGET_ID);
        if (id != null && id.length() > 0) {
            try {
                return new TargetId(id);
            } catch (IllegalArgumentException e) {
                // This will happen if the fied contains "null" rather than
                // it being empty. We return null if this happens.
            }
        }
View Full Code Here

     *            having a target.
     * @see #setTarget(Target)
     * @see #getTargetId()
     */
    public void setTargetId(TargetId id) {
        TargetId old = getTargetId();
        if (!KongaID.areEqual(id, old)) {
            setProperty(TARGET_ID, id);
            firePropertyChange(TARGET_ID, old, id);
        }
    }
View Full Code Here

    public static IntegrationEntityId createIdFromFunctionArg(String id, String prefix) {
        String strippedPrefix = StringUtils.removeEnd(prefix, ".");
        if ("s".equals(strippedPrefix)) {
            return new SourceId(id);
        } else if ("t".equals(strippedPrefix)) {
            return new TargetId(id);
        } else if ("op".equals(strippedPrefix)) {
            return new OperationId(id);
        } else if ("sc".equals(strippedPrefix)) {
            return new ScriptId(id);
        } else if ("m".equals(strippedPrefix)) {
View Full Code Here

TOP

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

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.