Package org.jitterbit.integration.data.location

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


            return Boolean.class;
        }

        @Override
        public Boolean getValue(IntegrationEntity entity) {
            DataLocation location = ((Locatable) entity).getLocation();
            return ((FtpLocation) location).isFtpRenameEnabled();
        }
View Full Code Here


            return ((FtpLocation) location).isFtpRenameEnabled();
        }

        @Override
        public void setValue(IntegrationEntity entity, Boolean value) {
            DataLocation location = ((Locatable) entity).getLocation();
            ((FtpLocation) location).setFtpRenameEnabled(value);
        }
View Full Code Here

    private static boolean isJmsLocation(Locatable locatable) {
        if (locatable == null) {
            return false;
        }
        DataLocation loc = locatable.getLocation();
        return (loc != null) && (loc.getDataLocationType() == DataLocationType.JMS);
    }
View Full Code Here

        }
        return false;
    }

    private boolean accept(Target tgt) {
        DataLocation loc = tgt.getLocation();
        // If a new Target is created from the target selector, it's DataLocation will
        // still be null when the selector is notified. We must accept that, otherwise
        // the new Target will not become automatically selected.
        return loc == null || accept(loc);
    }
View Full Code Here

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

            return "Driver type";
        }

        @Override
        public DriverType getValue(IntegrationEntity entity) {
            DataLocation location = ((Locatable) entity).getLocation();
            DriverDescriptor driver = ((DatabaseLocation) location).getDriver();
            return driver != null ? driver.getType() : null;
        }
View Full Code Here

            return String.class;
        }

        @Override
        public String getValue(IntegrationEntity entity) {
            DataLocation location = ((Locatable) entity).getLocation();
            DriverDescriptor driver = ((DatabaseLocation) location).getDriver();
            return driver != null ? driver.getName() : null;
        }
View Full Code Here

        return DataLocationType.class;
    }

    @Override
    public DataLocationType getValue(IntegrationEntity entity) {
        DataLocation loc = ((Locatable) entity).getLocation();
        return (loc != null) ? loc.getDataLocationType() : null;
    }
View Full Code Here

            return Boolean.class;
        }

        @Override
        public Boolean getValue(IntegrationEntity entity) {
            DataLocation location = ((Locatable) entity).getLocation();
            return ((FileLocation) location).willBeDeletedOnSuccess();
        }
View Full Code Here

            return ((FileLocation) location).willBeDeletedOnSuccess();
        }

        @Override
        public void setValue(IntegrationEntity entity, Boolean value) {
            DataLocation location = ((Locatable) entity).getLocation();
            if (value) {
                ((FileLocation) location).setDeleteSourceFile();
            } else {
                ((FileLocation) location).setRenameFileTo("");
            }
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.