[quote=Jick]Hi jm_fra,
We’ve enhanced our template supported to allow you retrieve tagged value and comments. First, download the patch at:
http://files3.visual-paradigm.com/200708/Patch/6-1-0_20070830a/VP_Suite_Windows_3_1_20070830a.exe
Then, run it by overwriting the current installation. You will be able to access the following calls:
${object}.commentIterator() : Iterator
${object}.commentCount() : int
${object}.commentArray() : TemplateComment[]
${object}.commentAt(int) : TemplateComment
Here is the operations supported by TemplateComment:
getSummary() : String // Same as getName()
getAuthor() : String
getDateTime() : String
getContent() : String // Same as getDocumentation()
Tagged Value can be access by:
${object}.taggedValueIterator() : Iterator
${object}.taggedValueCount() : int
${object}.taggedValueArray() : TemplateTaggedValue[]
${object}.taggedValueAt(int) : TemplateTaggedValue
${object}.getTaggedValue(String) : TemplateTaggedValue
${object}.getTaggedValueIgnoreCase(String) : TemplateTaggedValue
${object}.hasTaggedValue(String) : boolean
${object}.hasTaggedValueIgnoreCase(String) : boolean
For IG-Java, those operation body is generated as below ===
[Normal operation]
JavaOperation.vm // This may forward the body generation to other .vm
[Association many side (Setter)]
JavaAssociation_Add.vm
JavaAssociation_Remove.vm
[Association many side (Getter)]
JavaAssociation_To.vm
[Association one side (Setter)]
JavaAssociation_Set.vm
[Association one side (Getter)]
JavaAssociation_Get.vm
[Association class (Setter)]
JavaAssociationClass_Set.vm
[Association class (Getter)]
JavaAssociationClass_Get.vm
[Attribute (Setter)]
JavaAttribute_Set.vm
[Attribute (Getter)]
JavaAttribute_Get.vm
Hope this helps. Feel free to contact us if there are any questions.
Best regards,
Jick[/quote]
Such a very amazing link!
Thanks you for the post.