[ http://jira.andromda.org/browse/UMLMETA-6?page=comments#action_11298 ]
     
CÃdric Vidal commented on UMLMETA-6:
------------------------------------

That doesn't work for me :( The following template definition doesn't match any 
AssociationClassFacade (even when it has no stereotype on it which could led to 
some instanciation undeterminism):

    <template
        path="templates/java/AssociationClassInterface.vsl"
        outputPattern="{0}/{1}Association.java"
        outlet="dataobject-interfaces"
        overwrite="true"
        required="false">
        <modelElements variable="class">
            <modelElement>
                <type 
name="org.andromda.metafacades.uml.AssociationClassFacade"/>
            </modelElement>
        </modelElements>
    </template>

Whereas

    <template
        path="templates/java/AssociationClassInterface.vsl"
        outputPattern="{0}/{1}Association.java"
        outlet="dataobject-interfaces"
        overwrite="true"
        required="false">
        <modelElements variable="class">
            <modelElement>
                <type name="org.andromda.metafacades.uml.ClassifierFacade"/>
            </modelElement>
        </modelElements>
    </template>

match all ClassifierFacade as expected.

Am I missing something ? What would be the proper template definition in order 
to match AssociationClassFacade ? Thanx :)

> Association class wrapping in metafacades model
> -----------------------------------------------
>
>          Key: UMLMETA-6
>          URL: http://jira.andromda.org/browse/UMLMETA-6
>      Project: UML Metafacades
>         Type: New Feature
>     Versions: 3.0 M3
>  Environment: AndroMDA 3.0M2 andromda-metafacades-uml14
>     Reporter: IstvÃn Groma
>     Assignee: Wouter Zoons
>      Fix For: 3.0 RC1

>
> The UML 1.4 model allows you to create a class for representing an existing 
> association (in the visualization it is a dashed line between the association 
> and the related class). In an AndroMDA template one would want to get this 
> class from an association (AssociationFacade) with a operation like 
> getAssociationClasses() or what ever. So it would be necessary to add some 
> functionality to the matefacade model regarding to association classes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to