Package fr.soleil.data.service

Examples of fr.soleil.data.service.GenericDescriptor


    @SuppressWarnings("unchecked")
    public <U> void addCheckerToSource(final AbstractChecker checker, final IKey key) {
        if (checker != null && key != null) {
            final AbstractDataSource<U> source = getSource(key);
            for (final AbstractController<?> controller : getUsedControllers()) {
                final GenericDescriptor controllerDesc = controller.getSourceType();
                if (controllerDesc != null && controllerDesc.isAssignableFrom(source.getDataType())) {
                    ((AbstractController<U>) controller).addCheckerToSource(checker, source);
                }
            }
        }
    }
View Full Code Here


        }
    }

    @Override
    public GenericDescriptor getDataType() {
        GenericDescriptor[] desc = new GenericDescriptor[] { new GenericDescriptor(String.class),
                new GenericDescriptor(Object.class) };
        return new GenericDescriptor(String.class, desc);
    }
View Full Code Here

    @SuppressWarnings("unchecked")
    public <U> void addCheckerToSource(AbstractChecker checker, IKey key) {
        if (checker != null && key != null) {
            AbstractDataSource<U> source = getSource(key);
            for (AbstractController<?> controller : getUsedControllers()) {
                GenericDescriptor controllerDesc = controller.getSourceType();
                if (controllerDesc != null && controllerDesc.isAssignableFrom(source.getDataType())) {
                    ((AbstractController<U>) controller).addCheckerToSource(checker, source);
                }
            }
        }
    }
View Full Code Here

        }
    }

    @Override
    public GenericDescriptor getDataType() {
        return new GenericDescriptor(Object[].class);
    }
View Full Code Here

        return INumberMatrixTarget.class;
    }

    @Override
    protected GenericDescriptor getTargetType() {
        return new GenericDescriptor(Object[].class);
    }
View Full Code Here

        }
    }

    @Override
    public GenericDescriptor getDataType() {
        return new GenericDescriptor(Boolean.class);
    }
View Full Code Here

        }
    }

    @Override
    public GenericDescriptor getDataType() {
        return new GenericDescriptor(String.class);
    }
View Full Code Here

        return IChartViewer.class;
    }

    @Override
    protected GenericDescriptor getTargetType() {
        GenericDescriptor[] desc = new GenericDescriptor[] { new GenericDescriptor(String.class),
                new GenericDescriptor(Object.class) };
        return new GenericDescriptor(String.class, desc);
    }
View Full Code Here

        }
    }

    @Override
    public GenericDescriptor getDataType() {
        return new GenericDescriptor(boolean[][].class);
    }
View Full Code Here

        }
    }

    @Override
    public GenericDescriptor getDataType() {
        return new GenericDescriptor(String.class);
    }
View Full Code Here

TOP

Related Classes of fr.soleil.data.service.GenericDescriptor

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.