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
1
vote
0 answers

Playframework: Is this a bug in the SBT compiler (incremental compilation broken), and does anyone know a solution?

I am getting an exception when generating the metamodel using the Hibernate JPA 2 Static-Metamodel Generator on playframework 2.4 [info] Compiling 6 Java sources to…
svaens
  • 649
  • 7
  • 23
1
vote
0 answers

what is a meta model MXML and what's its goal

Can someone please explain what is meta model MXML? Can we have a meta model MXML from a log file? What's the goal of this meta model MXML? Does this meta model have a relationship with log files? I've already searched through the net but I found…
1
vote
0 answers

Retrieve information from JPA Metamodel

Jpa 2 metamodel has one known use: type safe criteria query. My question is different: I suppose metamodel can be source of information like length, human friendly description, left-right alligment etc, for example for building pretty GUI table…
Jacek Cz
  • 1,872
  • 1
  • 15
  • 22
1
vote
0 answers

Wrong Id used when building subselect with JPA Criteria API

I want to apply a filter/search to a Spring Data repository utilizing a Specification. When building the predicates, in a case of a subselect on a many to many result set, the wrong entity's Id is selected. I use a generated JPA Metamodel and the Id…
Sgoda
  • 11
  • 3
1
vote
0 answers

Metamodel class in criteriabiuilder

I want to build a dynamic query using CriteriaBuilder.For that reason i want to get metamodel class name and field at runtime. I have a metamodel class @javax.persistence.metamodel.StaticMetamodel(Invoice.class) public class Invoice_ { public…
1
vote
1 answer

How can SBT generate metamodel classes from model classes using DataNucleus?

How can I generate metamodel classes (like QClient, QProduct, QInvoice) from a persistence model classes (like Client, Product, Invoice) so that a JDOQL typesafe queries can be employed? In particular, I'm interested on generating the metamodel…
Richard Gomes
  • 5,675
  • 2
  • 44
  • 50
1
vote
0 answers

I need to explore the sysml metamode, as XMI file

I need to explore the Metamodel of SysMl, I have tried with make new emf project and add the following xmi file http://www.omg.org/spec/SysML/20120401/ISO-80000-1-SysML.xmi. But I could not open it using emf editor, because of missed package, for…
Mona
  • 11
  • 2
1
vote
1 answer

EMF/UML and OCL API for Scala

A part of an application I am developing in Scala needs to read and parse EMF/UML models along with OCL expressions defined over these models. My OCL expressions are pretty much query expression defined over these EMT/UML models. My Questions: 1)…
qartal
  • 2,024
  • 19
  • 31
1
vote
1 answer

How to have QueryDSL get a path's field type from the QClass dynamically?

QueryDSL creates for us some nice metamodel Q-classes, where the fields of those Q-classes are, whenever possible, paths of a specific type. For example, if you have an Integer field for age in your User class, the field will have a type of…
Michael Tontchev
  • 909
  • 8
  • 23
1
vote
1 answer

org.bsc.maven.maven-processor-plugin doesn't work for java 1.7 and above

I have a GitHub repository where I host some Hibernate examples and to generate the JPA MetaModel classes I've been using the following Maven plugin: org.bsc.maven maven-processor-plugin
Vlad Mihalcea
  • 142,745
  • 71
  • 566
  • 911
1
vote
2 answers

Defining a metamodel

My question might sound very stupid. But, can anyone please tell me what exactly a metamodel is. I know the technical definition and I have read a lot of papers on metamodels, but I dont seem to get the hang of it. Suppose I have two classes like…
sjaymj62
  • 386
  • 2
  • 18
1
vote
0 answers

What are the Meta model design advantages and drawbacks with search engine (SOLR) usage?

We are trying to model our database with a metamodel, for example: Link 1 Link 2 But we have limited foresight of this approach with a search engine. Therefore, we need your advice. Basically, what problems that we will encounter with this…
baris.aydinoz
  • 1,902
  • 2
  • 18
  • 28
1
vote
2 answers

build-helper-maven-plugin add-source doesn't work

I'm using maven-processor-plugin to generate my metamodel classes, now I'd like to ad the generated foldet to my build path to use the classes generated in my code. However when I run mvn install, my metamodel is generated correctly, but the folder…
DeleteMePlease
  • 91
  • 1
  • 3
  • 8
1
vote
1 answer

Rascal meta-model

Does Rascal meta-model include representation of version control system information and bug tracker info similarly to the one advocated for FAMIX by Antoniol et al.?
Alexander Serebrenik
  • 3,567
  • 2
  • 16
  • 32
1
vote
0 answers

does the use of meta model can cause memory leak in hibernate code?

Analyzing heap dump of tomcat app that based hibernate 4.3.1.final + `Spring 4' shows that there is a leak on org.hibernate.internal.SessionFactoryImpl it seems related to with MetaModel (maybe meta model with @embeddedId) Does any one have…
oak
  • 2,898
  • 2
  • 32
  • 65