A meta-model-based uml syntax consistency detection method
A detection method and meta-model technology, applied in the direction of model-driven code, program code conversion, creation/generation of source code, etc., can solve the problems of old language, lack of compiler, low degree of technology integration, etc., to reduce conversion steps, Reduced possibility of errors, reduced complexity effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0040] The invention provides a method for detecting UML syntax consistency based on metamodel, comprising:
[0041] Step 1: the UML metamodel that needs to be detected is mapped into an XMI document, and the UML metamodel is exported as an XMI document by UML drawing software that supports XMI such as Rational Rose and StarUML; in the present embodiment, the UML model that needs to be detected is such as image 3 The class diagram shown, maps it to something like Figure 4 In the shown XMI document, the UML diagram is transformed into a formalized extensible markup language, and the elements in the UML model are transformed into tags in the XMI document.
[0042] Step 2: Parse the XMI document by using the DOM4J parser through the Java language;
[0043] The specific steps of step 2 are as follows:
[0044] Step 2.1: Create a SAXReader parser;
[0045] Step 2.2: The read method through the SAXReader parser will be as Figure 4 The XMI document shown is read into memory an...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com