Re: Many questions about stereotyping



Date view Thread view Subject view Author view

Tony Simons (a.simons@dcs.shef.ac.uk)
Thu, 31 Jan 2002 10:18:36 +0000 (GMT)


Hi all, As far as I have been able to delve into this area, a stereotype is equivalent to a subclass in the UML metamodel. Eg: you have the metamodel-class "Class", standing for the kind of classifier that you use in a class diagram, of which all user- defined classes are instances. If you want to stereotype some of these with <<interface>> or <<type>> then this is equivalent, in the UML metamodel, to inventing meta-subclasses of "Class", called "Interface" and "Type". By this reasoning, it would seem appropriate to allow there to exist relationships (associations) between meta-classes and so obtain the kind of relationships wanted by Mr Gaafar below. --Tony > X-Originating-IP: [62.114.23.248] > From: "ahmad Gaafar" <ahmad_gaafar@hotmail.com> > To: puml-list@cs.york.ac.uk > Subject: Many questions about stereotyping > Date: Mon, 28 Jan 2002 11:56:55 +0200 > Mime-Version: 1.0 > X-OriginalArrivalTime: 28 Jan 2002 09:56:56.0534 (UTC) FILETIME=[1EDD1F60:01C1A7E2] > X-Loop: puml-list@cs.york.ac.uk > > Hello everybody, > Let me quickly introduce my self Ahmad Hani preparing my Msc at Cairo Univ > Egypt > around the Visualization of OCL. > But my questions here are about the stereotypes as extension mechanism in > UML. > First question: > Can any stereotype be attached with a meta class that does not inherit from > the generalizable element.. according to the UML metamodel the metaclass > attribute does not inherit from the generaizable element. > Second question: > the process of defining the stereotype how it takes place > Third question > can I define dependencies between two stereotypes for example a <<comopsite > attribute>> has <<simple attribute>>(s). > Please if you can help reply this message > Thank you for your time > Ahmad Hani > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > > > To remove yourself from this list please mail puml-list-request@cs.york.ac.uk > with a message containing the word "unsubscribe". > ========================================================================== Dr Anthony J H Simons a.simons@dcs.shef.ac.uk Senior Lecturer in Computer Science http://www.dcs.shef.ac.uk/~ajhs Director of Teaching Department of Computer Science tel: (+44) 114 22 21838 University of Sheffield dept: (+44) 114 22 21800 Regent Court, 211 Portobello Street fax: (+44) 114 22 21810 SHEFFIELD, S1 4DP univ: (+44) 114 22 22000 United Kingdom ==========================================================================


Date view Thread view Subject view Author view