1 / 14

An Introduction to UML Profiles

Lidia Fuentes-Fernández and Antonio Vallecillo-Moreno. An Introduction to UML Profiles. Presented By Aditi Barua. Introduction. Purpose of the paper is to: Introduce UML profiles. Discuss on the usefulness and importance of UML profile in Model-driven Architecture(MDA) context. .

kedem
Download Presentation

An Introduction to UML Profiles

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lidia Fuentes-Fernández and Antonio Vallecillo-Moreno An Introduction to UML Profiles Presented By Aditi Barua

  2. Introduction Purpose of the paper is to: • Introduce UML profiles. • Discuss on the usefulness and importance of UML profile in Model-driven Architecture(MDA) context.

  3. Background … • Model is a description of system or part of a system using well-defined language. • Software models provide abstraction of systems which help deal with large and complex application. • UML(Unified Modeling Language) is most widely used modeling language. • UML is a general-purpose language which can be applied in all application domain and implementation platform.

  4. Motivation … • A general-purpose language(UML) cannot describe applications of specific domain. • Two possible solutions: • Introduction of new language • Extension of the existing UML syntax and semantics. • New modeling language can not be supported by the commercial UML tools.

  5. 4-layered Conceptual Architecture • Layer M0: Instances: • Models running system and its elements whose instances actually exist in the system. • EX; define instances of class. • Layer M1:Model of the system: • Defines the classes with their attributes. • EX; defines Class “Customer” with its attribute “address” • Layer M2: The model of the model(metamodel, modeling language) • Defines the concepts that are used to model an element of layer M1 • EX; defines classes, attributes and associations, etc • Layer M3: The model of M2(meta-metamodel, MOF) • Defines the concepts that can be used to define modeling languages. • EX; defines what is a class and its relationship with the rest of the UML concepts

  6. Example Scenario • M0: • M1: • M2: • M3:

  7. UML Profiles • UML profile package defines a set of UML artifacts that allow the specifications of an MOF model • These artifacts deal with the specific concepts and notations for particular application domain and implementation platform. • UML profiles have three basic mechanisms: • Stereotypes • Constraints • Tagged value

  8. UML Profiles(Example …) • Two new elements- Colours and Weights • Properties: the actual colour of a colouredelement, the weight of a weighed element • Restrictions: coloured associations can only be defined between classes of the same colour as that of the association.

  9. UML Profiles(Example …) Constraints in OCL

  10. Application of the UML Profile

  11. How to define UML Profile Meta model Actual system

  12. Part of OCL UML profile

  13. Application Making Use of UML profile

  14. Exercise • Define a UML profile to support the notations used in the following UML class diagram.

More Related