Hi, I need a bit of help in generating a requirement document from the requirement model created in Topcased. I have received a small script which I received but I can't figure out the whole stuff due to lack of proper documentation of the API. Unfortunately I've not received a response from the person who sent me this script.
Can somebody help me figure out how to declare and use "a" in the first line of this script part? [for(cur:requirement::CurrentRequirement | a.getRequirementList())]<drop/> [cur.identifier/] <richText>[cur.shortDescription/]</richText> #EndText [for(al:requirement::AttributeLink|cur.attribute)]<drop/> [if (al.value.eClass().name='Requirement')][al.name/] [al.value.oclAsType(ttm::Requirement).ident/][/if][/for] [for(ta:requirement::TextAttribute|cur.attribute)]<drop/> [if not (ta.value='')][ta.name/] <richText>[ta.value/]</richText>[/if][/for] [/for] I've already seen the Topcased pdf available on the website but I'm not able to proceed by that. Can the developers provide documentation on the APIs involved and the objects used in the document generation? Thanks for the help. Kind Regards, Gajendra
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
