| [MOFScript] objectsOfType [message #377700] |
Mon, 14 May 2007 05:18  |
Matteo Bordin Messages: 19 Registered: July 2009 |
Junior Member |
|
|
This is a multi-part message in MIME format.
--------------050400050900050904090008
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi everybody,
has anyone any experience with the model operation objectsOfType() in
MOFScript? It doesn't seem to work on MOFScript 1.2.0.
Are there any fast workaround for the same semantics?
Thanks,
Matteo
--------------050400050900050904090008
Content-Type: text/x-vcard; charset=utf-8;
name="bordinmatteo.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="bordinmatteo.vcf"
begin:vcard
fn:Matteo Bordin
n:Bordin;Matteo
org:University of Padua
email;internet:bordinmatteo@yahoo.it
title:MSc. candidate
url:http://www.studenti.math.unipd.it/~mbordin
version:2.1
end:vcard
--------------050400050900050904090008--
|
|
|
|
|
|
|
|
|
|
|
| Re: [MOFScript] objectsOfType [message #596205 is a reply to message #377700] |
Mon, 14 May 2007 06:53  |
Gøran K. Olsen Messages: 184 Registered: July 2009 |
Senior Member |
|
|
Hello Matteo,
I am not sure what you try to achieve, but e.g. the following example code,
will print out the name of all the classes in the model.
var tt: List = uml.objectsOfType(uml.Class)
tt->forEach(c:uml.Class){
stdout.println("Class Name: "+c.name)
}
/G
|
|
|
|
|
|
|
|
| Re: [MOFScript] objectsOfType [message #596858 is a reply to message #377711] |
Tue, 15 May 2007 09:04  |
Gøran K. Olsen Messages: 184 Registered: July 2009 |
Senior Member |
|
|
Hello Matteo,
We have not any fixed date for a new release (usually it depends on the
number of fixes).
There are a couple of other things we would like to add before a new
release, but
if everything goes as planned, we could have a new version by the end of
next week.
/G
|
|
|
|
Powered by
FUDForum. Page generated in 0.02577 seconds