Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » EObject attributes
EObject attributes [message #1777436] Wed, 29 November 2017 11:35 Go to next message
Breno Zupeli is currently offline Breno ZupeliFriend
Messages: 8
Registered: October 2017
Junior Member
Hi,

how can I access the EObject attributes?
For example, if I print an EObject, the result is:
NavigationModelImpl@10178439 (name: Navigation Model, visibility: <unset>) (URI: null) (viewpoint: <unset>)


I'd like to access the
 (name: Navigation Model, visibility: <unset>) (URI: null) (viewpoint: <unset>)
in a List. How can I do this?

Thanks.
Re: EObject attributes [message #1777450 is a reply to message #1777436] Wed, 29 November 2017 13:06 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

getXXX() accesses the XXX attribute. eAllStructuralFeatures() gives a list of attributes that you can use reflectively.

Regards

Ed Willink
Previous Topic:Sirius Diagramm / EMF manipulation problem
Next Topic:Setting attribute with first literal of an enumeration
Goto Forum:
  


Current Time: Fri Mar 29 00:01:12 GMT 2024

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

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

Back to the top