1 package org.simantics.db.layer0.variable;
3 import org.simantics.db.ReadGraph;
4 import org.simantics.db.Resource;
5 import org.simantics.db.exception.DatabaseException;
7 public class StandardGraphPropertyFactory implements GraphPropertyFactory {
9 public static final StandardGraphPropertyFactory INSTANCE = new StandardGraphPropertyFactory();
12 public Variable create(ReadGraph graph, Variable parent, Resource property) throws DatabaseException {
13 return new StandardGraphPropertyVariable(graph, parent, property);