|
|
|
|
Re: Customize XML reading/writing with ExtendedMetaData [message #1750976 is a reply to message #1750888] |
Tue, 03 January 2017 05:03  |
Eclipse User |
|
|
|
It's very hard for me to provide guidance because it's clear that some addition mapping information is coming from XMLPersistenceMappingExtendedMetadata and I know nothing about that. Just looking at what the annotation key names suggest (classifierElement -> true), what you mentioned (subclasses of AttributeDefinition), and looking at the XML you showed (ATTRIBUTE-DEFINITION-INTEGER-REF), I imagine something is interpreting the element name as a classifier name, i.e., ATTRIBUTE-DEFINITION-INTEGER-REF is somehow mapped to an EClass for some subclass of AttributeDefinition. Using purely EMF, that could be accomplished by an EPackage for the no-target-namespace scheme that defines an EReference ATTRIBUTE-DEFINITION-INTEGER-REF with the corresponding type for that from the model; it's all not pretty. But your picture in the first post doesn't show any of the annotation details for your READONLY-ATTRIBUTES class. If you're using mechanisms provided by the RMF project, it's probably better to ask on their forum, but I can't only guess at what's going on.
|
|
|
Powered by
FUDForum. Page generated in 0.04379 seconds