Package fr.soleil.target

Examples of fr.soleil.target.SourceAndTargetAssociation


                dataAdapter = new DataAdapter<Map<String, Object>>(new GenericDescriptor(Map.class,
                        new GenericDescriptor(String.class), new GenericDescriptor(Object.class)), xIndex, yIndex);
            }
        }
        if (targetWrapper != null && dataAdapter != null) {
            SourceAndTargetAssociation association = new SourceAndTargetAssociation(source.getDataType(),
                    targetWrapper.getTargetDataDescriptor());
            if (!ObjectUtils.sameObject(dataAdapter, associationMap.get(association))) {
                associationMap.put(association, dataAdapter);
            }
            linked = super.addLink(source, target);
View Full Code Here


    protected void transmitDataToTarget(AbstractDataSource<AbstractMatrix<Data>> source,
            AbstractDataFilter<AbstractMatrix<Data>> associatedFilter, List<ITarget> targets) {
        // DataSourceAdapter<AbstractMatrix<Data>, T> adapter = getSourceAdapter(source);
        for (ITarget target : targets) {
            TargetWrapper<?> targetWrapper = targetWrapperMap.get(target);
            SourceAndTargetAssociation association = new SourceAndTargetAssociation(source.getDataType(),
                    targetWrapper.getTargetDataDescriptor());
            DataAdapter<?> adapter = associationMap.get(association);
            if ((adapter != null) && (targetWrapper != null)) {
                Object targetValue;
                try {
View Full Code Here

TOP

Related Classes of fr.soleil.target.SourceAndTargetAssociation

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.