Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » oclIskindOf() error(oclIskindOf() error)
oclIskindOf() error [message #548420] Wed, 21 July 2010 18:31
Rafael  is currently offline Rafael Friend
Messages: 2
Registered: July 2010
Junior Member

A question regarding oclIsKindOf() :

let g be the input model. If I have the following class structure:


Router extends Task
Correlator extends Router

In a loop I want to discover if a given task a subtype of Router, is it possible to do this?

// self is a container of concrete tasks
self.tasks->forEach(t: g.Task) {
if ( t.oclIsKindOf( g.Router ) ) {
}else {

I am getting the following error:
Error: MTTParseError: Cannot find reference: gua.Router, line: 17, column: 26

What is wrong here?

Thanks a lot!

Rafael Z. Frantz
University of Sevilla - Spain

GuaranĂ¡ for Enterprise Application Integration
Previous Topic:MOFScript
Next Topic:error while checking out AM3
Goto Forum:

Current Time: Tue Jun 15 14:20:47 GMT 2021

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

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

Back to the top