X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.layer0%2Fsrc%2Forg%2Fsimantics%2Fdb%2Flayer0%2Fvariable%2FPropertyFactory.java;h=0296c7977d25d1b408e85db0a058415062055b7c;hb=1ecae6e1ad40507badb8807fb14bb67b4adf199c;hp=8e3e654d31f117207768b17f37b13259a15f9590;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/PropertyFactory.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/PropertyFactory.java index 8e3e654d3..0296c7977 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/PropertyFactory.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/PropertyFactory.java @@ -1,21 +1,21 @@ -/******************************************************************************* - * 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.db.ReadGraph; -import org.simantics.db.Resource; -import org.simantics.db.exception.DatabaseException; - -public interface PropertyFactory { - Variable create(ReadGraph graph, Variable subject, Resource container, String property) throws DatabaseException; - Variable create(ReadGraph graph, Variable subject, Resource container, Resource 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.db.ReadGraph; +import org.simantics.db.Resource; +import org.simantics.db.exception.DatabaseException; + +public interface PropertyFactory { + Variable create(ReadGraph graph, Variable subject, Resource container, String property) throws DatabaseException; + Variable create(ReadGraph graph, Variable subject, Resource container, Resource property) throws DatabaseException; +}