Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » How get actual class attributes from uml class
How get actual class attributes from uml class [message #622566] Tue, 26 June 2007 05:01
Lasith is currently offline LasithFriend
Messages: 29
Registered: July 2009
Junior Member
Hi All,

With the uml2 API I could not find a way to get actual class attributes
(except class properties for relationship ends).
We can use umlClass.getAttributes() method to get attributes related to a
class. But it returns relationship ends also as attributes. The
getAttributes() method returns list of properties.
So tried with property.isAttribute(p) method to check those properties for
class attributes. But it always returns false. Also I could not understand
why this isAttribute() method requires a parameter. Because we are always
invoking this isAttribute() for property so what is the meaning of passing
another property type parameter to it.

Thanks and Regards,
Previous Topic:[Announce] MDT UML2 2.1.0 2.1RC4 is available
Next Topic:question about package merge
Goto Forum:

Current Time: Mon Mar 30 14:24:13 GMT 2020

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

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

Back to the top