X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.layer0%2Fsrc%2Forg%2Fsimantics%2Fdb%2Flayer0%2Frequest%2FVariableURI.java;h=a614b1009d5924e05653214a69bf9c54bc0369cd;hb=48bb50bb6640506d1f150ca8e4fa5a6e878464be;hp=87b45e03b6e9a81a0d3c6f7ae3c707667b4ac7db;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/VariableURI.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/VariableURI.java index 87b45e03b..a614b1009 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/VariableURI.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/VariableURI.java @@ -1,30 +1,30 @@ -/******************************************************************************* - * 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.request; - -import org.simantics.db.ReadGraph; -import org.simantics.db.exception.DatabaseException; -import org.simantics.db.layer0.variable.Variable; - -public class VariableURI extends VariableRead { - - public VariableURI(Variable var) { - super(var); - assert(var != null); - } - - @Override - public String perform(ReadGraph graph) throws DatabaseException { - return variable.getURI(graph); - } - -} +/******************************************************************************* + * 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.request; + +import org.simantics.db.ReadGraph; +import org.simantics.db.exception.DatabaseException; +import org.simantics.db.layer0.variable.Variable; + +public class VariableURI extends VariableRead { + + public VariableURI(Variable var) { + super(var); + assert(var != null); + } + + @Override + public String perform(ReadGraph graph) throws DatabaseException { + return variable.getURI(graph); + } + +}