Questions tagged [model-driven-development]

Software Development done in a modeling tool such as IBM Rational Rhapsody. Usually involves the use of code generation from the model.

59 questions
1
vote
0 answers

Database Migration and model transformation languages

I'm considering migrating a database from SQL server to PostgreSQL. The proposed new Postges Database will have a slightly different design to the old SQL server model. I heard about model transformation languages and thought they might be worth…
sav
  • 2,064
  • 5
  • 25
  • 45
1
vote
1 answer

Detect configuration errors with FeatureIDE

Is there a way to programmaticaly detect validation errors at configuration files, against user defined constraints with FeatureIDE? If it is the case, how should I proceed to detect them and change the validated configuration? I am using AHEAD as…
1
vote
1 answer

How to communicate between Rhapsody models in different processes/systems?

We are using IBM (formerly Telelogic) Rhapsody for a new project to do model driven development of a complex device. The device consists of several subsystems that are connected by various network interfaces. We'd like to model the entire system in…
Richard Pennington
  • 19,673
  • 4
  • 43
  • 72
1
vote
1 answer

Eclipse Modeling Framework and XPAND - How to create iOS metamodel?

I want to define a model driven approach with Eclipse Modeling Framework (EMF) and XPAND. Therefore I want to define a platform specific metamodel (PSM) with Ecore and write XPAND templates for code generation for the iOS platform. My question is…
1
vote
2 answers

How to generate Java-code from model of EMF

I created a model with EMF and generated an Eclipse plugin for this model. In the plugin I can now define an instance of that model. But now I want do generate Java-code from this instance. How can I do this?
user1127860
  • 150
  • 2
  • 14
0
votes
1 answer

Struts2 - Implementing ModelDriven - Create an interceptor that accesses the model properties

I'm relatively new to Struts2. I've started using ModelDriven to reduce overhead in development. I wanted to write an interface to modify a property before it gets to the action but I don't see how you can access the properties of a class that…
JasonG
  • 5,794
  • 4
  • 39
  • 67
0
votes
1 answer

Alloy fact NOT both properties

I have a piece of code in ALLOY I am trying to do a restaurant reservation system and I have this sig and relation between them. abstract sig Table{ breakfast: one breakFast, lunch: one Lunch, dinner: one Dinner } sig Free{ } sig…
dori naji
  • 980
  • 1
  • 16
  • 41
0
votes
1 answer

Merge Project models through EML using complex comparison rules

Problem: I'm using EML and Epsilon Language Workbench to merge two project models, represented by two metamodels (MM1 and MM2), into a third metamodel (target). While I can achieve a simple merge based on element names, I need a more complex rule to…
James
  • 1,653
  • 2
  • 31
  • 60
0
votes
2 answers

Power Apps- Model Driven App How to select the colors in a Pie Chart

I am new to Power Apps Model Driven App, I have started working on a POC and got some feedbacks from my manager: I have used a Pie Chart on a Data verse Table where there they have suggested for some color changes as per the count. In the chart by…
KHV
  • 145
  • 2
  • 4
  • 19
0
votes
1 answer

Model Driven App: How to remove the default alert to save changes while using Navigation

I am trying to use the Report main form to create a new Report however, I am using a custom ribbon button on Report Main Form called "Generate Report". Then I am using the javascript webresource to generate the report which uses fetch XML to get the…
0
votes
0 answers

How to make javascript load when form is refreshed or record is opened from the table view?

I have a business process flow that has 4 stages, and I want to hide all the fields in the BPF's. I attached the javascript to the event onLoad of the form. It works when i initially open the form, and it fires it when i save it. However, when i…
0
votes
1 answer

Difference between eclipse sirius and epsilon

Can someone help me? I would like to know the main differences between the eclipse sirius and epsilon to develop M2M solutions or another MDE approach. Thank you
DevComp
  • 3
  • 1
0
votes
1 answer

Numbers in XText not accepted

I have the following rule: terminal MIDI_VALUE: ( '0'..'9') | ( '1'..'9' '0'..'9') | ('1' '0'..'1' '0'..'9') | ('1' '2' '0'..'7'); This rule is meant to read values from [0..127]. However, it does not accept values from…
Michel Keijzers
  • 15,025
  • 28
  • 93
  • 119
0
votes
1 answer

Xtext/ANTLR: How to fix this error? The following token definition can never be matched prior...?

I have made a grammar and the editor does not show any error, when I select 'Generate XText Artifacts', I get the following error: error(208): ../mestra.dmxlightshow/src-gen/mestra/parser/antlr/internal/InternalDmxLightShow.g:3668:1: The following…
Michel Keijzers
  • 15,025
  • 28
  • 93
  • 119
0
votes
1 answer

How to write a domain entity object to multiple database tables using Spring Data Jpa?

I have a domain model that corresponds to multiple tables when I use a relational database to design a data store. Now when I create this domain entity, I want to use Spring Data Jpa to write to multiple data tables at once. How to do it? 1.Domain…