We never saw a case where the return value was _not_ a composite state, but we never actually tried those inner-states, if you run into a problem with them in combination with the metafacades I guess we must reimplement that method .. so far we never had a problem.
Just let us know and we'll patch it -- Wouter > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:andromda-devel- > [EMAIL PROTECTED] On Behalf Of marko lauke > Sent: Wednesday, November 10, 2004 3:24 PM > To: [EMAIL PROTECTED] > Subject: [Andromda-devel] ActivityGraphFacadeLogicImpl > > there is a method in class ActivityGraphFacadeLogicImpl.java > > protected Collection getSubvertices(Predicate collectionFilter) { > CompositeState compositeState = > (CompositeState) metaObject.getTop(); > return filter(compositeState.getSubvertex(), collectionFilter); > } > > i not really understand ?!? you assume getTop() answers > CompositeState-Obj, so you make a down-cast to it. but how could this > work? i'm currently working on an addendum to support > SubActivityState-Elements (which are real CompositeState-Obj) to modell > Use-Case inclusion respectively struts-workflow handling etc. > > so could you explain or give me a hint? > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
