Questions tagged [metamodel]

Metamodel is a collection of concepts (frames, rules, terms, constraints, models and theories) that are applicable and useful for modeling a predefined class of problems.

A model is an abstraction of phenomena in the real world; a metamodel is yet another abstraction, highlighting properties of the model itself. A model conforms to its metamodel in the way that a computer program conforms to the grammar of the programming language in which it is written.

Metamodeling, or meta-modeling in software engineering and systems engineering among other disciplines, is the analysis, construction and development of the frames, rules, constraints, models and theories applicable and useful for modeling a predefined class of problems.

Metamodeling is usually defines of a collection of concepts within a certain domain.

cf. wikipedia

225 questions
4
votes
1 answer

Hibernate JPA 2 Metamodel Generator - Error "x_ can not be resolved to a variable"

Eclipse does not recognize the Metamodel and I always get the error: "xy_ can not be resolved to a variable." I tried everything and spent a lot of time seraching for alternatives but somehow it just doesn`t work. All in all I did following: add…
nin-prog
  • 91
  • 2
  • 8
4
votes
1 answer

Hibernate 5.2 get natural id properties from metamodel

Since SessionFactory#getClassMetadata(java.lang.Class) was deprecated, I am not able to use ClassMetadata. I would like to access to the following…
jmgoyesc
  • 2,677
  • 1
  • 18
  • 16
4
votes
2 answers

Can a component realize a service in Archimate 3?

In the Archimate 3 Application Layer Metamodel there is no explicit realization relation between an "Application Component" and an "Application Service". However, in the example of section 12.3 there is such relation. How should I understand this?
nize
  • 1,012
  • 1
  • 11
  • 27
4
votes
2 answers

Where I can find the UML class diagram's official metamodel?

I've searched for the UML class diagram metamodel on the UML/OMG web site, but I found nothing. I'm not looking for a somebody's interpretation, I really wanted the oficial metamodel specification. I will be glad if anyone can help me with this.…
4
votes
2 answers

Acceleo transformation using a custom ecore metamodel

First of all , i am new to the modeling features of eclipse, so the question may be trivial, but i am searching for days and haven't found an answer. I have created an ecore metamodel file with an ecore modeling project. The URI is this :…
odyd
  • 194
  • 1
  • 2
  • 13
4
votes
1 answer

NullPointerException when using getName() function from a SingularAttribute

When I call the getName method of the SingularAttribute class I get a nullpointerexception. I've been stuck here for a couple of hours and for the life of me I can't figure out why this is breaking so I decided to ask ya'll for some thoughts on…
Calum
  • 61
  • 5
4
votes
1 answer

Use CriteriaBuilder on embedded object

I am trying to use @Embeddable with CriteriaBuilder to filter results of a parent Entity based on the embedded property. I use Eclipse Link to generate the Metadata classes. Here is the embedded class/entity: @Embeddable public class Stamp…
Gadi
  • 1,539
  • 22
  • 37
4
votes
2 answers

updating an excel file with apache metamodel

I'm trying to incorporate Apache MetaModel into a project and keep running into a weird problem. I update an Excel spreadsheet row in code. The code finds the right row, deletes it, then appends the row (with my update) to the bottom of the…
dlunday
  • 41
  • 2
4
votes
2 answers

javac 8 error while metamodel generation (hibernate-jpamodelgen)

I am trying to auto generate metamodel classes using hibernate-jpamodelgen library in Play Framework. My build.sbt file is like this: libraryDependencies ++= Seq( javaCore, // filters, cache, "org.springframework" % "spring-context" %…
Nik Kashi
  • 4,447
  • 3
  • 40
  • 63
4
votes
0 answers

Null metatamodel fields with inherited @Embedded

I am experiencing NPEs with some embedded JPA metamodel fields using Hibernate 4.3.5.Final. Specifically, I have the following situation: @Entity class A @Embedded class B in class A @Embedded class C extending class B I am not getting the 'Unable…
nullPainter
  • 2,676
  • 3
  • 22
  • 42
4
votes
2 answers

Parse OCL in Java?

I am writing a Java program for a course that takes a UML class diagram, which is a metamodel, as input and allows the user to create diagrams of the type specified in the metamodel. The user should then be able to model instances of what this…
JSFernandes
  • 188
  • 3
  • 9
4
votes
1 answer

Associations between actors and usecases in the UML2 Metamodel

I'm trying to understand the rules defined by the UML2 metamodel for associations between actors and usecases in usecase diagrams. I understand that actors and usecases can take part in generalizations (because they are derived from Classifier which…
ceran
  • 1,392
  • 1
  • 17
  • 43
3
votes
4 answers

DynamicData - How can I show the child count in the Children.ascx.cs FieldTemplate?

MS DynamicData's Children.ascx.cs file has a Page_Load method that returns a hyperlink which says "View Children". I want to append the number of children to the end of the hyperlink text. Below is my attempt. How can I make the hyperlink say "View…
Benjamin
  • 3,134
  • 6
  • 36
  • 57
3
votes
2 answers

UML - Is it possible to add ActivityPartitions to StructuredActivityNodes?

In the UML Specifications on page 476 there is the following diagram: If I'm not mistaken, it should not be possible to add ActivityPartions (which are a specialization of ActivityGroups - just like StructuredActivityNodes) to a…
ramy
  • 64
  • 1
  • 15
3
votes
2 answers

How can I generate JPA metamodel in spring-boot with gradle?(+ lombok)

I want add JPA metamodel to my project - Spring boot + gradle I find a lot of examles how can i do it but all with Maven. Also I find this site: https://plugins.gradle.org/search?term=metamodel and try first three plugins. With each plugins I get…
ip696
  • 6,574
  • 12
  • 65
  • 128
1 2
3
14 15