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
0
votes
1 answer

insert/update an entity that has a many to many relationship with another entity using java criteria api

as the question says. I have two tables Products and categories. Product table ... create table products ( id int primary key generated always as identity(start with 100, increment by 1), name varchar(30), quantity int, unit_cost decimal…
blaze
  • 139
  • 1
  • 3
  • 13
0
votes
1 answer

EclipseLink Canonical Metamodel from already compiled entity classes

I cannot seem to figure out how I should get EclipseLink's CanonicalModelProcessor to generate metadata classes for entities that are mapped in an orm.xml file, and which are not source files in the current compilation unit, but instead included in…
Mirko Klemm
  • 2,048
  • 1
  • 23
  • 22
0
votes
2 answers

Xtext assign object in xtext file

Trying to make a meta model for Mongoose and MondoDb, using metamodeling concepts, eclipse and xtext. I am trying to assign object that i created in my test.mydsl file to another object in the same file, but i get error in my test.mydsl file. I am…
branko terzic
  • 654
  • 1
  • 8
  • 27
0
votes
1 answer

Hibernate MetaModel no longer populates Attributes when a project is added to Maven

I have a maven project that is split into several modules. proj-parent +- proj-campaign +- proj-core +- proj-data +- proj-rawimport +- proj-ui +- proj-ui-core The data module contains most of the JPA entity classes, which has been configured to…
fancyplants
  • 1,577
  • 3
  • 14
  • 25
0
votes
1 answer

Papyrus UML: add a type to a property using a Profile (Metamodel Extension)

I'm defining a profile using Papyrus UML in Eclipse. I extended metaclass "Class" and "Property" with several Stereotype classes. I can see new Stereotypes in my actual model correctly. I want to do the same defining my own types in my profile to…
Simone Pulcini
  • 103
  • 1
  • 5
0
votes
1 answer

Apache Metamodel - Min/Max/Default values

Is there a way to get to the default value for a column and/or the min/max constraints for a column using Apache Metamodel? I know in the java.sql.DatabaseMetaData you can get to the default value of a column but I am not seeing the same accessor…
Michael
  • 519
  • 4
  • 14
0
votes
1 answer

Errors While Generating Metamodel Using ANT

I am trying to generate EclipseLink JPA metamodel using ANT
Jacob
  • 14,463
  • 65
  • 207
  • 320
0
votes
2 answers

JPA Metamodel generation missing attributes

I'm using JPA metamodel generation http://relation.to/Bloggers/HibernateStaticMetamodelGeneratorAnnotationProcessor to be able to execute criteria queries with names of the attributes. I'm generating the metamodel classes trough ANT and…
Gaetano Piazzolla
  • 1,388
  • 1
  • 16
  • 31
0
votes
1 answer

how to iterate a dali metamodel and obtein the property names

I have this class @Generated(value="Dali", date="2014-07-29T08:43:32.358-0400") @StaticMetamodel(Country.class) public class Country_ { public static volatile SingularAttribute id; public static volatile…
icarus
  • 319
  • 2
  • 4
0
votes
1 answer

Why MetaModel parameter is null

I have a very simple model class. @Entity @Table(name="reach") public class Reach { @Id @Column(name = "uid") private Long uId; @Column(name = "reach_30") private Integer reach30; ... getters, setters.. } And here is my meta…
dinesh707
  • 12,106
  • 22
  • 84
  • 134
0
votes
1 answer

Is there a framework or methodology for evaluating software engineering models and meta-model?

In software engineering project and research a lot of model have been made. Is there a framework or methodology for evaluating software engineering models and meta-model especially in qualitative perspective?
Araz
  • 21
  • 3
0
votes
1 answer

MetaModel Annotation Compilation Error

I am upgrading a project from using java 6 to java 7 and ran into this problem. This project is using spring and JPA 2.0. There are some classes that have a StaticMetaModel annotation. When I compile in java 6 there is no problem, but when I compile…
gaoagong
  • 1,177
  • 14
  • 15
0
votes
1 answer

Push Client-Metadata to Server

we have a very dynamic metamodel which changes frequently. We don't use EF but an own Database-Technology. As we didn't find any good documentation on how the server-side metamodel has to be created "by hand", we decided to create the client-side…
NoRyb
  • 1,472
  • 1
  • 14
  • 35
0
votes
1 answer

How to check a field for a Meta Model class in a generic way?

I use a Abstract Base class with generic implementation to access my database with JPA. I also use the Entity Meta Model. public List findByCode(String code) { CriteriaBuilder cb = entityManager.getCriteriaBuilder(); …
Dimitri Dewaele
  • 10,311
  • 21
  • 80
  • 127
0
votes
1 answer

Trying to query a .CSV file using Java and MetaModel API

I am trying to query a .CSV file using Java and MetaModel API and not succeeding. This API is easy with a .XLS file but with a .CSV I am stumped because there is no table name for the SQL query. Can anyone provide any hint or insight on how to do…
djangofan
  • 28,471
  • 61
  • 196
  • 289
1 2 3
14
15