Package org.openengsb.core.api.xlink.model

Examples of org.openengsb.core.api.xlink.model.XLinkObject


    private List<XLinkObject> collectXLinkObjects(Object modelObject, ModelDescription modelDescription,
            XLinkConnectorRegistration registration) {
        List<XLinkObject> xLinkObjects = new ArrayList<>();
        for (Entry<ModelDescription, XLinkConnectorView[]> entry : registration.getModelsToViews().entrySet()) {
            if (modelDescription.equals(entry.getKey())) {
                xLinkObjects.add(new XLinkObject(registration.getConnectorId(), registration.getToolName(),
                    modelObject, modelDescription, Arrays.asList(entry.getValue())));
            } else if (transformationEngine.isTransformationPossible(modelDescription, entry.getKey())) {
                Object transformedObject = transformAndMerge(modelDescription, entry.getKey(), modelObject);
                xLinkObjects.add(new XLinkObject(registration.getConnectorId(), registration.getToolName(),
                    transformedObject, entry.getKey(), Arrays.asList(entry.getValue())));
            }
        }

        return xLinkObjects;
View Full Code Here

TOP

Related Classes of org.openengsb.core.api.xlink.model.XLinkObject

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.