Skip to main content
summaryrefslogblamecommitdiffstats
blob: 3fe0c9ad7fbc1ad604c059852604ace1d6b8e99f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                      
import  _source : 'SourceMM1.ecore#/'
import  _target : 'TargetMM1.ecore#/'
import 'Source2TargetLookup.ocl'
package _source

context X
def : isA1() : Boolean =
	isA1
def : isA2() : Boolean =
	isA2
def : isA3() : Boolean =
	not (isA1 or isA2)
context Z
def : parentIsY1() : Boolean =
	oclContainer().oclIsTypeOf(Y1)
def : parentIsY2() : Boolean =
	oclContainer().oclIsTypeOf(Y2)
endpackage

Back to the top