Method of mapping UML models to XMI
|School||Kunming University of Science and Technology|
|Keywords||UML Metamodel XML Metadata Interchange Class Use Case Mapping rules|
UML (Unified Modeling Language) is a kind of object-oriented model language.It integrates the new thought,new method and new technique of the software engineering realm. UML provided various diagram, is a diagrammatic representation.People can clearly investigate model in all directions.UML helps us to carry on object-oriented modeling for the software system, its purpose lies in becoming mankind’s engineering to learn. XMI(XML-based Metadata Interchange) exchanges metadata according to the XML.XMI defined a kind of data exchange format base on XML for UML metamodel (metamodel is a type of special model) and other models by the standardize XML format and DTDs (Document Type Definitions).At the same time, it also defined the mapping method from UML to XML.The main purpose of XMI is to allow various modeling tools in distributed heterogeneous environment and metadata repositories warehouse can expediently carry on data.interchange.This thesis introduced UML and MOF, described the basic theory of XMI in detail, including XMI DTD, XMI Schema, XMI elements and the structure of the document is introduced, then puts forward the mapping method of UML model to XMI, and through the examples to further validation proposed rules, including association class model mapping to XMI, stereotype class model mapping to XMI, generalization use case model mapping to XMI, include use case model mapping to XMI and extend use case model mapping to XMI.