Package org.jitterbit.integration.data.location.metadata

Examples of org.jitterbit.integration.data.location.metadata.DataLocationMetaData


        DataLocationType[] arTypes = getAllowedTypes(locatable, st);
        return new DefaultComboBoxModel(arTypes);
    }

    private DataLocationType[] getAllowedTypes(Locatable locatable, SourceTarget st) {
        DataLocationMetaData md = DataLocationMetaData.getInstance();
        EnumSet<DataLocationType> types = (st == SourceTarget.Source) ?
                        md.getSupportedSourceTypes() : md.getSupportedTargetTypes();
        for (Iterator<DataLocationType> it = types.iterator(); it.hasNext(); ) {
            DataLocationType type = it.next();
            if (!locatable.isLocationTypeAllowed(type)) {
                it.remove();
            }
View Full Code Here


        this.st = st;
    }

    @Override
    public EnumSet<DataLocationType> getSupportedValues() {
        DataLocationMetaData md = DataLocationMetaData.getInstance();
        switch (st) {
        case Source:
            return md.getSupportedSourceTypes();
        case Target:
            return md.getSupportedTargetTypes();
        }
        throw new AssertionError();
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.location.metadata.DataLocationMetaData

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.