How get actual class attributes from uml class [message #622566] |
Tue, 26 June 2007 05:01 |
Lasith 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,
|
|
|
Powered by
FUDForum. Page generated in 0.02962 seconds