[ETL] Error "Property 'stereotype' not found in object Class [...]" [message #1125128] |
Fri, 04 October 2013 03:20  |
Eclipse User |
|
|
|
Hello all,
in my ETL module, I want to restrict transformations to elements with a certain stereotype. Hence, I need to determine the stereotype of the elements. I do this using an own operation called "hasStereotype", see the following code.
operation Source!Class hasStereotype(name:String):Boolean {
return self.stereotype.exists(st:Class!Stereotype|st.name=name);
}
rule CopyProblemStatement
transform sps : Source!Class
to tps : Target!Class{
guard : sps.hasStereotype("Problemstatement")
}
Unfortunately, when I try to run this transformation, I receive an error, see the attached screenshot of the code and the error message.
I provide a detail description and minimum example concerning my project in a note and a zip file besides the screenshot of the code and the error message in the attachment to this message.
Any helpful hint is very much appreciated.
Kind regards, Alexander
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08322 seconds