Package java.util

Examples of java.util.List.addAll()


        final List swimlanes = new ArrayList();

        final ActivityGraphFacade graph = this.getFirstActivityGraph();
        if (graph != null)
        {
            swimlanes.addAll(graph.getPartitions());
        }

        return swimlanes;
    }
View Full Code Here


        final List endStates = new ArrayList();

        final ActivityGraphFacade graph = this.getFirstActivityGraph();
        if (graph != null)
        {
            endStates.addAll(graph.getFinalStates());
        }

        return endStates;
    }
View Full Code Here

            if (this.featureMap != null)
            {
                Collection features = (Collection)this.featureMap.get(facade);
                if (features != null)
                {
                    result.addAll(features);
                }
            }
            if (!includeSuperclasses)
            {
                final Map methodDataMap = new HashMap();
View Full Code Here

            }
            if (!includeSuperclasses)
            {
                final Map methodDataMap = new HashMap();
                this.getAllFeatures(methodDataMap, declarationSet, this);
                result.addAll(methodDataMap.values());
            }
            Collections.sort(result);
            return result;
        }
        catch (Throwable th)
View Full Code Here

                startTime);

            // - validate the model since loading has successfully occurred
            final org.andromda.core.configuration.Repository repository = model.getRepository();
            final String repositoryName = repository != null ? repository.getName() : null;
            validationMessages.addAll(this.validateModel(
                    repositoryName,
                    model));
        }
        return validationMessages;
    }
View Full Code Here

            for (int repositoryCtr = 0; repositoryCtr < repositoryNumber; repositoryCtr++)
            {
                final org.andromda.core.configuration.Repository repository = repositories[repositoryCtr];
                if (repository != null)
                {
                    messages.addAll(this.loadIfNecessary(repository.getModels()));
                }
            }
        }
        return messages;
    }
View Full Code Here

        if (models != null && models.length > 0)
        {
            final int modelNumber = models.length;
            for (int modelCtr = 0; modelCtr < modelNumber; modelCtr++)
            {
                messages.addAll(this.loadModelIfNecessary(models[modelCtr]));
            }
        }
        return messages;
    }
View Full Code Here

            throw new RepositoryFacadeException("No model specified.");
        }
        final List moduleSearchPathList = new ArrayList();
        if (moduleSearchPaths != null)
        {
            moduleSearchPathList.addAll(Arrays.asList(moduleSearchPaths));
        }

        // - first add the default module search paths maps that are found on the classpath
        final URL[] classpathSearchPaths = ResourceFinder.findResources(MODULES_PATH);
View Full Code Here

                    if (goals == null)
                    {
                        projectGoals = (List)projects.get(project);
                        if (projectGoals.isEmpty())
                        {
                            projectGoals.addAll(this.goals);
                        }
                    }
                    else
                    {
                        projectGoals = goals;
View Full Code Here

                            directory,
                            this.dependencyDirectory),
                        artifact);
                }

                artifactList.addAll(this.allArtifacts);

                Collections.sort(
                    artifactList,
                    new ArtifactComparator());
                for (final Iterator iterator = artifactList.iterator(); iterator.hasNext();)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.