Package gov.nasa.arc.mct.evaluator.component

Examples of gov.nasa.arc.mct.evaluator.component.MultiCreationServiceImpl


     * Creates a new component based on the collection of source components.
     * @param sourceComponents the collection of components.
     * @return newly created abstract component.
     */
    AbstractComponent createNewMulti(Collection<AbstractComponent> sourceComponents) {
      MultiCreationServiceImpl e = new MultiCreationServiceImpl();
      AbstractComponent ac = e.createMulti(MultiEvaluator.LANGUAGE_STRING, "");
    ((MultiComponent)ac).getData().setFallThroughDisplayValue("????");
    if (sourceComponents.size() == 1) {
      ((MultiComponent)ac).getData().setPassThrough(true);
      FeedProvider fp = sourceComponents.iterator().next().getCapability(FeedProvider.class);
      ((MultiComponent)ac).getData().setPassThroughParameterId(fp.getSubscriptionId());
View Full Code Here

TOP

Related Classes of gov.nasa.arc.mct.evaluator.component.MultiCreationServiceImpl

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.