X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.layer0%2Fsrc%2Forg%2Fsimantics%2Fdb%2Flayer0%2Fvariable%2FEquationExpression.java;h=094bd5ab31ba392bc4f9a9940360d4dc85a56289;hb=3c2807a26920491016a1887d2c1a95609c082a19;hp=9bbb515df585d77c422e6efcdf26056033dd201f;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/EquationExpression.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/EquationExpression.java index 9bbb515df..094bd5ab3 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/EquationExpression.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/EquationExpression.java @@ -1,24 +1,24 @@ -/******************************************************************************* - * 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.db.layer0.variable; - -import org.simantics.databoard.binding.Binding; -import org.simantics.db.ReadGraph; -import org.simantics.db.WriteGraph; -import org.simantics.db.exception.DatabaseException; - -public interface EquationExpression { - - boolean isInvertible(ReadGraph graph, Variable property) throws DatabaseException; - void invert(WriteGraph graph, Variable property, T value, Binding binding) throws DatabaseException; - -} +/******************************************************************************* + * 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.db.layer0.variable; + +import org.simantics.databoard.binding.Binding; +import org.simantics.db.ReadGraph; +import org.simantics.db.WriteGraph; +import org.simantics.db.exception.DatabaseException; + +public interface EquationExpression { + + boolean isInvertible(ReadGraph graph, Variable property) throws DatabaseException; + void invert(WriteGraph graph, Variable property, T value, Binding binding) throws DatabaseException; + +}