Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTO]Remove attributes from classes in a UML(Need a way to remove a particular attribute from classes in a UML)
[QVTO]Remove attributes from classes in a UML [message #697781] Mon, 18 July 2011 02:31
HYDKING  is currently offline HYDKING Friend
Messages: 1
Registered: July 2011
Junior Member
Hello everyone,

I am very new to QVT or any form of M2M transformation. I have a task at hand where I need to write a qvto to browse through all the classes in a model and delete a particular attribute of all the classes if present. Can someone suggest a best way to do this?

I have attached an example model file and corresponding qvto which browses through all the classes and attributes of the model. I haven't found any delete/remove method at either class or attribute level.

I would appreciate if someone can please help me get through this.

Thanks,
VIN
  • Attachment: sample.emx
    (Size: 3.12KB, Downloaded 262 times)
  • Attachment: sample.qvto
    (Size: 1.23KB, Downloaded 346 times)
Previous Topic:[QVTd] What is the status of the project?
Next Topic:[ATL] Troubles with xmiIDs, rule inheritance
Goto Forum:
  


Current Time: Sat Apr 20 01:45:37 GMT 2024

Powered by FUDForum. Page generated in 0.03355 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top