/******************************************************************************* * Copyright (c) 2004-2010 Gabor Bergmann 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: * Gabor Bergmann - initial API and implementation *******************************************************************************/ package org.eclipse.incquery.runtime.rete.construction.psystem; import java.util.Set; import org.eclipse.incquery.runtime.rete.construction.RetePatternBuildException; /** * @author Bergmann Gábor * */ public interface PConstraint { public Set<PVariable> getAffectedVariables(); public Set<PVariable> getDeducedVariables(); public void replaceVariable(PVariable obsolete, PVariable replacement); public void delete(); public void checkSanity() throws RetePatternBuildException; }