X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.mapping%2Fsrc%2Forg%2Fsimantics%2Fmapping%2Frule%2FIRule.java;h=3d43d813889fa51c8a462f1b6faa0f5ecd40f39d;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=47f18ae13a24589d187bf84f76f8ab50843294fe;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.mapping/src/org/simantics/mapping/rule/IRule.java b/bundles/org.simantics.mapping/src/org/simantics/mapping/rule/IRule.java index 47f18ae13..3d43d8138 100644 --- a/bundles/org.simantics.mapping/src/org/simantics/mapping/rule/IRule.java +++ b/bundles/org.simantics.mapping/src/org/simantics/mapping/rule/IRule.java @@ -1,28 +1,28 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * 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: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.mapping.rule; - -import gnu.trove.map.hash.TObjectIntHashMap; - -import org.simantics.db.Resource; -import org.simantics.mapping.constraint.TooManyUnboundVariablesException; -import org.simantics.mapping.rule.instructions.IRuleInstruction; -import org.simantics.utils.datastructures.persistent.ImmutableSet; - -public interface IRule { - - ImmutableSet binds(); - IRuleInstruction createInstruction( - TObjectIntHashMap variableIds, - ImmutableSet bound) throws TooManyUnboundVariablesException; - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * 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: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.mapping.rule; + +import gnu.trove.map.hash.TObjectIntHashMap; + +import org.simantics.db.Resource; +import org.simantics.mapping.constraint.TooManyUnboundVariablesException; +import org.simantics.mapping.rule.instructions.IRuleInstruction; +import org.simantics.utils.datastructures.persistent.ImmutableSet; + +public interface IRule { + + ImmutableSet binds(); + IRuleInstruction createInstruction( + TObjectIntHashMap variableIds, + ImmutableSet bound) throws TooManyUnboundVariablesException; + +}