-- @atlcompiler atl2006 -- Accesses the TransientLinkSet of a running transformation to find all the mappings library TransientLinks; helper context OclAny def : mapsto() : Bag(OclAny) = if self.oclIsKindOf(Collection(OclAny)) then self->collect(e | e.mapsto())->flatten() else thisModule.links.getLinkBySourceElement(self).getTargetElementsMap().getValues() endif; helper context OclAny def : mapstoOfType(type : OclType) : Sequence(OclAny) = self.mapsto()->select(t | t.oclIsTypeOf(type)); helper context OclAny def : mapstoOfKind(type : OclType) : Sequence(OclAny) = self.mapsto()->select(t | t.oclIsKindOf(type));