RE: Many questions about stereotyping



Date view Thread view Subject view Author view

Gonzalo Génova (ggenova@inf.uc3m.es)
Thu, 31 Jan 2002 15:22:49 +0100


Hello, Regarding your first question, it seems you ask whether you can attach a stereotype to an attribute in a model, that is, whether the metaclasses Stereotype and Attribute have a meta-association in the UML metamodel. In UML v1.4 (September 2001) page 2-76, there is a meta-association between Stereotype and ModelElement (playing the role extendedElement). Since Attribute is a subclass of ModelElement, you can attach a stereotype to an attribute. No matter whether Attribute is a GeneralizableElement or not. You can extend this to any other model element that is not a generalizable element. Gonzalo -----Mensaje original----- De: ahmad Gaafar [mailto:ahmad_gaafar@hotmail.com] Enviado el: Monday, January 28, 2002 10:57 AM Para: puml-list@cs.york.ac.uk Asunto: Many questions about stereotyping 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".


Date view Thread view Subject view Author view