Topic
  • No replies
Love_k1
Love_k1
11 Posts

Pinned topic Dynamic Parsing of package

‏2013-04-04T11:02:58Z |
Hi Everyone.

Lets suppose i am having a package "pack" and in this package i can have multiple number of classes.
But i dont know the names of classes. Now at runtime i want to check if a particular attribute "attr1" is present in any class.
If it is present i have to create object of this class. In other case i have to ignore this class.

I have attached my project in which i have a package "Data" in which there are five classes having some attribute.
I want to run this and at runtime i want to check if "range " attribute is present in any class. And i want to store that data in any file.

I am using Rhapsody 7.6.
Could anyone please tell me possible ways to do so.?
Hoping to hear from you soon.

Thanks in Advance.
Love Kumar