-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
I'm having a very odd problem here, while writing a velocity template... I've made sure that UML Classes are passed to my template, so I'd expect the velocity $class variable to be of type org.omg.uml.foundation.core.UmlClass$Impl. However, casting to UmlClass gives me a ClassCastException. Casting to Classifier works though (UmlClass is a subclass of Classifier). When I do "$class.getClass().getName()" I get "$Proxy0". Does anyone know what class this is? Almost looks as some object created with the PClassifier proxy, but since I've inherited from UMLDefaultHelper, and not from SimpleOOHelper, that shouldn't be an option... Thanks, Hans - -- Ark Linux - Linux for the Masses (http://arklinux.org) Capitalism: You don't have any cows. The bank will not lend you money to buy cows, because you don't have any cows to put up as collateral. Representative Democracy: You have two cows. Your neighbors pick someone to tell you who gets the milk. In a world without walls and fences, who needs windows and gates? Hans Schippers 2LIC INF UA 2003-2004 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/3M/yXlnUYIbmLOQRAgC1AKCagkOVt3oQ7I/2/5wcK8bcrHUZVgCdH4rh UmtKgEYil0G1xjr4rW3TpvQ= =0e4s -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user