burhanxz / Uml Synchronously Store To Db
Programming Languages
Projects that are alternatives of or similar to Uml Synchronously Store To Db
UML-Synchronously-store-to-DB
这个项目实现将UML建模过程实时存储到数据库(也包括扩展自UML的SysML模型)。Java实现。 原理: 1、UML元模型顶层类继承自持有数据对象处理类的特殊EObject类中 2、将UML模型的增删改查操作,都利用基类提供的方法,代理到数据对象处理类中 3、数据处理类中使用MapDB,自定义高效的序列化类,供MapDB序列化用 4、测试类在TestSysML.java中,在建模过程中实时监控存储器的内容。
This project implements real-time storage of the UML modeling process into the database (also including the SysML model extended from UML), implemented by Java. principles:
- the UML metamodel top-level class inherits from the special EObject class holding the data object processing class
- The addition, deletion, and change operations of the UML model are all delegated to the data object processing class using the methods provided by the base class.
- the use of MapDB in the data processing class, custom efficient serialization class for MapDB serialization
- Test class is TestSysML.java, and the content of the memory is monitored in real time during the modeling process.
测试类的测试结果如下 ------------ set: [email protected]: EAttributeImplTwo_tanks set: [email protected]: EAttributeImplDesign set: [email protected]: [email protected] set: [email protected]: EAttributeImplInterface set: [email protected]: [email protected] set: [email protected]: EAttributeImplact ------------ [email protected]: EAttributeImpl --> Interface [email protected]: EAttributeImpl --> act [email protected]: EReferenceImpl --> [email protected] [email protected]: EReferenceImpl --> [email protected] [email protected]: EAttributeImpl --> Two_tanks [email protected]: EAttributeImpl --> Design set: [email protected]: EAttributeImplact2 add: [email protected]: [email protected] add: [email protected]: [email protected] add: [email protected]: [email protected] add: [email protected]: [email protected] add: [email protected]: [email protected] ------****------ [email protected]: EReferenceImpl --> [[email protected], [email protected]] [email protected]: EAttributeImpl --> Interface [email protected]: EAttributeImpl --> act [email protected]: EReferenceImpl --> [email protected] [email protected]: EReferenceImpl --> [[email protected]] [email protected]: EReferenceImpl --> [email protected] [email protected]: EReferenceImpl --> [[email protected]] [email protected]: EAttributeImpl --> Two_tanks [email protected]: EAttributeImpl --> act2 [email protected]: EAttributeImpl --> Design