1 / 10

Transfer State Machine Design from UML to XML

Transfer State Machine Design from UML to XML. with a simple Example - Cruise Control. Main topic includes: UML and XML Introduction Metadata Integration with UML, MOF( Meta Object Facility) and XMI (XML Metadata Interchange format) Finite State Machine Design in UML

escarcega
Download Presentation

Transfer State Machine Design from UML to XML

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. Transfer State Machine Design from UML to XML with a simple Example - Cruise Control • Main topic includes: • UML and XML Introduction • Metadata Integration with UML, MOF( Meta Object Facility) and XMI (XML Metadata Interchange format) • Finite State Machine Design in UML • My project: Transfer State Machine Design from UML to XML COSC6341 Presentation

  2. UML Introduction Unified Modeling Language Why do we model? • Provide Structure for problem solving • Experiment to Explore multiple solutions • Furnish abstractions to manage complexity • Reduce time-to-market for business problem solutions • Decrease development costs • Manage the risk of mistakes

  3. UML Introduction (cont’d) • Language for Specifying, Visualizing, constructing and documenting the artifacts of software design • Define an easy-to -learn but semantically rich visual modeling language • Unify the Booch, OMT, and Objectory Modeling language and include ideas from other modeling language • Address contemporary software development issue such as scale, distribution, concurrency and executablity. • Provide flexibility for apply different processes • Enable model interchange and define repository interfaces

  4. UML Introduction (cont’d) • Structural Modeling • a view of an system that emphasizes the structure of the objects, including their classifiers, relationships, attributes and operations. • Use Cases Modeling • a view of a system that emphasizes the behavior as it appears to outside users. A use case model partitions system functionality into transactions (‘use cases’) that are meaningful to users (‘actors’). • Behavioral Modeling • Interactions and Collaborations • Statecharts • Activity Diagrams

  5. XML Introduction • What is XML? • XML is a method for putting structured data in a text file • XML looks a bit like HTML but isn't HTML • What is XML for? • XML is designed ‘to make it easy and straightforward to use SGML on the Web: easy to define document types, easy to author and manage SGML-defined documents, and easy to transmit and share them across the Web.’ • How does XML handle metadata? • Because XML lets you define your own markup language, you can make full use of the extended hypertext features of XML to store or link to metadata in any format

  6. XML Metadata Meta Object Interchange Metadata Layer Facility (XMI) Facility UML XML Document Type Definition Specification Layer OMG UML UML CORBAfacility Interface Definition Platform Domain Technology Technology profiles*** profiles*** UML Profiles for UML Profile for Customization Layer Business CORBA Domains Metadata Integration with UML, MOF, and XMI

  7. Metadata Integration with UML, MOF, and XMI • UML is only a modeling language • most implementation information is modeled in MOF • MOF provides a set of CORBA interfaces that can be used to define and manipulate a set of interoperable metamodels • XMI make it easy to change data and model information

  8. ON ON ON OFF Finite State Machine Design in UML What is Finite State Machine? • A machine whose output behavior is not only a direct consequence of the current input, but of some past history of its inputs • Characterized by an internal state which represents this past experience State Machines are suitable for describing event-driven, discrete behavior ON

  9. Finite State Machine Design in UML • Direct Mapping: Initialize Object on Lamp On Waiting for Event on/print(“on”) off off Handle Event Lamp Off stop Terminate Object

  10. My Project: Cruise Control Expample Pause Resume Off Pause /brake On Cruise Cruise On Cruise Off initial ready Off Off

More Related