/* * Copyright (c) 2006 Eclipse.org * * 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: * Dmitry Stadnik - initial API and implementation */ package org.eclipse.gmf.internal.bridge.resolver; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; /** * @author dstadnik */ public abstract class TypePattern { private EClass type; private EAttribute[] labels; public TypePattern(EClass node, EAttribute[] labels) { this.type = node; this.labels = labels; } public EClass getType() { return type; } public EAttribute[] getLabels() { return labels; } }