[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Problems with the Mapping model

Alex Shatalin wrote:


(source constraint): if self.oclIsKindOf(A) then
self.outgoingConnections->size()
= 0 else not self.oclIsKindOf(C) endif

(target constraint): if self.oclIsKindOf(C) then
self.incomingConnections->size()
= 0 else not self.oclIsKindOf(A) endif


Should A and C be substituted with the ID-numbers for the respective nodes then (because I'm guessing that you can't just keep the letters and hope for a miracle :))? And in what file should we put these constraints?

/Linda & Anna