X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.layer0%2Fsrc%2Forg%2Fsimantics%2Fdb%2Flayer0%2Fvariable%2FExpression.java;h=9f7a3cb9c23f2221011cbccbf20ac9f960fe719b;hb=15af8a20abe8b2ba24b52c9da8bce6c92351dc43;hp=25b4be4d7a1f5ed4eb0281eae26cb8e96387675b;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/Expression.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/Expression.java index 25b4be4d7..9f7a3cb9c 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/Expression.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/Expression.java @@ -1,23 +1,23 @@ -/******************************************************************************* - * 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.exception.DatabaseException; - -public interface Expression { - - T evaluate(ReadGraph graph, Variable property, Binding binding) throws DatabaseException; - T evaluate(ReadGraph graph, Variable property) 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.exception.DatabaseException; + +public interface Expression { + + T evaluate(ReadGraph graph, Variable property, Binding binding) throws DatabaseException; + T evaluate(ReadGraph graph, Variable property) throws DatabaseException; + +}