INFORMATION NETWORKING MODEL DSL James McAvoy and Yifeng Li CSI 5112 - Information Networking Model...

Post on 14-Dec-2015

212 views 0 download

Transcript of INFORMATION NETWORKING MODEL DSL James McAvoy and Yifeng Li CSI 5112 - Information Networking Model...

INFORMATION NETWORKING MODEL DSLJames McAvoy and Yifeng Li

CSI 5112 - Information Networking Model DSL 1Winter Term - 2011

Introduction• Information Networking Model

• Data Model• Modeling complex relationships • Prof Mengchi Liu, Carleton University

• INM DBMS• Data Definition Language (DDL)• Data Manipulation Language (DML)• Query Language

CSI 5112 - Information Networking Model DSL 2Winter Term - 2011

Goal• Graphical DSL to create a INM schema• Mapping graphical elements from the DSL to INM DDL

statements

CSI 5112 - Information Networking Model DSL 3Winter Term - 2011

Graphical DSL Tool Support• Graphiti

• Infrastructure to create graphical representation of EMF models

• EuGENia• GMF Editor

• Modeling Amalgamation Project• Improved packaging, integration and usability of modeling project

components• Integrated Eclipse Modeling Tools package• http://www.eclipse.org/modeling/amalgam/

CSI 5112 - Information Networking Model DSL 4Winter Term - 2011

DSL Toolkit• Eclipse application containing several modeling

technology to create DSL • EMF• GMF• OCL• QVT• Xpand• UML• Ect…

• http://www.eclipse.org/modeling/amalgam/downloads/oldpackages.php

CSI 5112 - Information Networking Model DSL 5Winter Term - 2011

DSL Toolkit

CSI 5112 - Information Networking Model DSL 6Winter Term - 2011

INM Meta-Model

CSI 5112 - Information Networking Model DSL 7Winter Term - 2011

INM Application

CSI 5112 - Information Networking Model DSL 8Winter Term - 2011

INM Model Instance

CSI 5112 - Information Networking Model DSL 9

Abstract Class

Object Class

Role Class

Contain

Subsume

Role

Normal

Winter Term - 2011

What’s Next• Improve graphical representation• Generate a simple schema from the DSL• Allow users to add attributes to a node in the diagram

view (Future Release)• Input existing INM schema to create a model (Future

Release)• Provide this tool to Prof Liu

CSI 5112 - Information Networking Model DSL 10Winter Term - 2011

Q&A

CSI 5112 - Information Networking Model DSL 11Winter Term - 2011