Named Roles
CapableObjects Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Named Roles Expand / Collapse
Author
Message
Posted 2010-04-26 18:19:08
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2011-03-20 06:03:52
Posts: 2, Visits: 43
I have been reading Hans Karlsen's excellent news blog on "The View Model". In the article, the UML diagram shows the following association: Game 0..* -------- 0..2 Team. In the view model the GameSetup Displayclass Presentation column's OCL refers to self.Home.Name and self.Visitor.Name. My question is: How were the roles Home and Visitor set up in the model? I suspect these are tag extensions but I can't seem to find any documentation that clears things up for me.
By the way, I appreciate all of the issues that View Models address and I am looking forward to using ViewModels in my next ECO application.


Rick
Post #5167
Posted 2010-04-28 14:49:05
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2012-02-05 15:21:40
Posts: 418, Visits: 2 531
In Modlr, drag out a new association, then you can select the association labels and start typing, or press F2, or edit the value in the property inspector.
Post #5174
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: HansKarlsen, Jonas Hogstrom, PeterMorris

Permissions Expand / Collapse

All times are GMT +1:00, Time now is 12:24

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0,172. 9 queries. Compression Disabled.