Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle submetamodels with inheritance #12

Open
NicolasAnquetil opened this issue Jan 8, 2023 · 0 comments
Open

Handle submetamodels with inheritance #12

NicolasAnquetil opened this issue Jan 8, 2023 · 0 comments
Assignees

Comments

@NicolasAnquetil
Copy link
Contributor

if we have 2 meta-models mm1 and mm2, mm1 is sub-meta-model of mm2 (ie. mm2 uses entities of mm1).

there is an mm1Entity and an mm2Entity and they don't inherit one from the other

If both generators are based on FamixBasicInfrastructureGenerator, then there are also two SourcedEntity, NamedEntity, Comment, ...

when we translate that to Java, we have "incompatible types", eg two NamedEntity.java that are equals but in separate packages and incompatible ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants