Package org.andromda.translation.ocl.node

Examples of org.andromda.translation.ocl.node.AVariableDeclarationList


                    variableDeclarationListTails.add(new AVariableDeclarationListTail(name.getComma(),
                            variableDeclaration, null));
                }
            }

            AVariableDeclarationList list = new AVariableDeclarationList(
                    new AVariableDeclaration(initialName, typeDeclaration), null, variableDeclarationListTails);
            return list;
        }
View Full Code Here


        Collection declarations = new ArrayList();

        if (variableDeclarationList != null)
        {
            AVariableDeclarationList variables = (AVariableDeclarationList)variableDeclarationList;

            if (variables != null)
            {
                // add the first one
                declarations.add(ConcreteSyntaxUtils.newVariableDeclaration(variables.getVariableDeclaration(),
                        variables.getVariableDeclarationValue()));

                // add the rest
                List variableTails = variables.getVariableDeclarationListTail();
                if (variableTails != null)
                {
                    Iterator variableTailIt = variableTails.iterator();
                    while (variableTailIt.hasNext())
                    {
View Full Code Here

TOP

Related Classes of org.andromda.translation.ocl.node.AVariableDeclarationList

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.