X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2FComputationalValue.java;fp=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2FComputationalValue.java;h=647e49162eeb2f2a1ee535b994a7babd290bb004;hb=15f274a205dabc11df9bf880291320fa5274e535;hp=0000000000000000000000000000000000000000;hpb=9c7a45d78da0d2b99f3a365c39dfc3f2e7221e24;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db/src/org/simantics/db/ComputationalValue.java b/bundles/org.simantics.db/src/org/simantics/db/ComputationalValue.java new file mode 100644 index 000000000..647e49162 --- /dev/null +++ b/bundles/org.simantics.db/src/org/simantics/db/ComputationalValue.java @@ -0,0 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2018 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: + * Semantum Oy - initial API and implementation + *******************************************************************************/ +package org.simantics.db; + +import org.simantics.db.exception.DatabaseException; + +/** + * @author Antti Villberg + * @since 1.36.0 + */ +public interface ComputationalValue { + + public T getValue(ReadGraph graph, Resource resource) throws DatabaseException; + +}