Package org.andromda.metafacades.uml

Examples of org.andromda.metafacades.uml.AssociationEndFacade


        {
            List viewEnds = clazz.getAssociationEnds();

            for ( Iterator iterator2 = viewEnds.iterator(); iterator2.hasNext(); )
            {
                AssociationEndFacade viewEnd = ( AssociationEndFacade ) iterator2.next();
                AssociationEndFacade otherEnd2 = viewEnd.getOtherEnd();

                if ( otherEnd2.getType().hasStereotype( "ViewController" ) )
                {
                    map.putAll( getViewCtrlUseCaseMap( otherEnd2.getType() ) );
                }
                else if ( otherEnd2.getType().hasStereotype( "View" ) && otherEnd2.isNavigable() )
                {
                    map.putAll( getViewViewCtrlUseCaseMap( otherEnd2.getType() ) );
                }
            }
        }
        return map;
    }
View Full Code Here


           
            List associationEnds = clazz.getAssociationEnds();
           
            for ( Iterator iterator = associationEnds.iterator(); iterator.hasNext(); )
            {
                AssociationEndFacade end = ( AssociationEndFacade ) iterator.next();
                AssociationEndFacade otherEnd = end.getOtherEnd();

                if ( otherEnd.getType().hasStereotype( "UseCase" ) && otherEnd.isNavigable() )
                {
                    String useCase = null;
                   
                    ClassifierFacade otherEndType = otherEnd.getType();
                   
                    useCase = StringUtils.uncapitalize( otherEndType.getName() );

                    if ( viewCtrl != null && useCase != null )
                    {
View Full Code Here

TOP

Related Classes of org.andromda.metafacades.uml.AssociationEndFacade

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.