Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[EVL] Get list of properties (Attributes + child elements)
https://www.eclipse.org/forums/index.php/mv/msg/1076431/1729032/#msg_1729032
I'm looking for a generic way to get a list of properties (attributes and child elements) a Model instance has.
And I'm curious - is there any documentation which members for every object exist? It seems that following EObject methods are available:
Is that all, or where can i find additional documentation?
Thanks in advance,
Martin]]>Glatz Martin2016-04-09T19:36:42-00:00Re: [EVL] Get list of properties (Attributes + child elements)
https://www.eclipse.org/forums/index.php/mv/msg/1076431/1729162/#msg_1729162
For future reference and others having same kind of problems: https://www.eclipse.org/forums/index.php/t/262927/
proposes a solution for the problem (if you want to get attributes/references) of a meta-model.
In my concrete case I had a "Generic-Anytype" Modelelement - so I basically have to search the instance on my own, as the meta-model can't provide the information, if a certain attribut is available. (generic name/value pairs).