Package eu.admire.dispel.graph

Examples of eu.admire.dispel.graph.Repeater


        controlledRepeat.createOutput(ControlledRepeat.OUTPUT_REPEATED);
        Location location = (Location)node.getAnnotation(AnnotationKeys.LOCATION);
        workflows.get(location).add(controlledRepeat);
        ProcessingElement targetActivity = peToActivity.get(node);
       
        Repeater repeater = (Repeater)literal.getValues().get(0);
        Object value = repeater.getValue();
        if (value instanceof List<?>)
        {
            List<Object> list = (List<Object>)value;
            for (Object object : list)
            {
View Full Code Here


                dot.append("\\\", ");
            }
        }  
        else if (value instanceof Repeater)
        {
            Repeater repeater = (Repeater)value;
            dot.append("repeat ");
            if (repeater.isInfinite())
            {
                dot.append("enough");
            }
            else
            {
                dot.append(repeater.getNumberOfRepeats());
            }
            dot.append(" of ");
            if (repeater.getValue() instanceof List)
            {
                List<?> list = (List<?>)repeater.getValue();
                for (Object obj : list)
                {
                    addLiteralValue(obj, dot);
                }
            }
            else
            {
                addLiteralValue(repeater.getValue(), dot);
            }
            // remove comma at the end if there is one
            if (dot.charAt(dot.length()-2) == ',')
            {
                dot.deleteCharAt(dot.length()-2);
View Full Code Here

TOP

Related Classes of eu.admire.dispel.graph.Repeater

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.