blob: 327cd4913e48cb0fff7b5da8d18c82c8cfc25f16 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004-2008 Akos Horvath, Gergely Varro and Daniel Varro
* 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:
* Akos Horvath, Gergely Varro - initial API and implementation
*******************************************************************************/
package org.eclipse.viatra2.gtasm.patternmatcher.impl.gtmatcher.internal.operation;
import org.eclipse.viatra2.core.IModelManager;
/**
* @author Akos Horvath
*
*/
public abstract class SetRelation extends ElementManipulationOperation {
protected IModelManager manager;
protected int relation;
public SetRelation(IModelManager manager, int relation) {
this.relation = relation;
this.manager = manager;
}
/**
* @return the relation
*/
public int getRelation() {
return relation;
}
}