I can't get the attributes from a super class. I have tried this:

#set ($superclass =
$transform.getGeneralization($transform.findClassById($class.id)))

#foreach ( $att in $superclass.attributes)
        ...
#end

But the attributes are not found. Someone said that you get the
Generalization object from getGeneralization so I also tried this:

#set ($gen =
$transform.getGeneralization($transform.findClassById($class.id)))
#set ($superclass = $gen.parent)


#foreach ( $att in $superclass.attributes)
        ...
#end


But here superclass is nothing.


Any suggestions?

// Johan 



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to