Skip to main content



      Home
Home » Modeling » EMF » How to know the name of a class (metadata) in a composition relationhip?
How to know the name of a class (metadata) in a composition relationhip? [message #1767250] Tue, 04 July 2017 03:47 Go to next message
Eclipse UserFriend
Hello.

I would like to get some help.
Currently, I defined a metamodel with ecore.
In my metamodel, A class has a composition relationship with B class.
I can easily know A class's attribute value, but I don't know how to get the B class's metadata name (i.e., "B").
If someone know, please let me know the method.

Thank you so much.

Grace
Re: How to know the name of a class (metadata) in a composition relationhip? [message #1767251 is a reply to message #1767250] Tue, 04 July 2017 03:59 Go to previous messageGo to next message
Eclipse UserFriend
aB.eClass().getName()
Re: How to know the name of a class (metadata) in a composition relationhip? [message #1767352 is a reply to message #1767251] Tue, 04 July 2017 22:41 Go to previous message
Eclipse UserFriend
Thank you, Ed.
I could solve my problem by your help.

Best regards,
Grace
Previous Topic:EMF resource save with relative Paths and a different format
Next Topic:Name Collision in Package and its elements
Goto Forum:
  


Current Time: Sat Jul 12 22:39:23 EDT 2025

Powered by FUDForum. Page generated in 0.24753 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top