| /******************************************************************************* |
| * Copyright (c) 2010-2017, Krisztian Gabor Mayer, IncQuery Labs Ltd. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Krisztian Gabor Mayer - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.viatra.examples.cps.tests.queries |
| |
| import "http://org.eclipse.viatra/model/cps" |
| |
| pattern hostInstancesPerHostTypes(ht : HostType, hi : HostInstance) { |
| HostType.instances(ht, hi); |
| } |
| |
| pattern hostInstances(hi : HostInstance) { |
| HostInstance(hi); |
| } |
| |
| pattern hostTypes(ht : HostType) { |
| HostType(ht); |
| } |