|Reuse Modisco's genmodel [message #687470]
||Wed, 15 June 2011 11:20
Originally posted by: |
I'm working on a tool for building an EMF model from a discovered Java
API, i.e. Modisco's Java model. The EMF model is composed of the Java
model, an Ecore (class) model and the mapping from the Ecore model's
features to the Java model (API). E.g. the model encodes that
EStructuralFeature X in EClass MY corresponds to the getter and setters
getX and setX in class Y.
Since my model refers to Modisco's Java model, my genmodel refers to
this model's genmodel. The latter will not validate:
A containment reference of a type with at container feature of
AnonymousClassDeclaration.classInstanceCreation that requires instances
to be created elsewhere cannot be populated.
Does this mean that I cannot refer to Modisco's model/genmodel from my own?
Powered by FUDForum
. Page generated in 0.01209 seconds