Skip to main content



      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 01:01
Eclipse UserFriend
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: Sun Jul 13 08:55:27 EDT 2025

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

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

Back to the top