+ Layer0Utils.addCommentMetadata(graph, "Created SCL Module " + name + " " + sclModule.toString());
+ return sclModule;
+ }
+
+ public static Resource setSCLModuleDefinition(WriteGraph graph, Resource module, String definition) throws DatabaseException {
+ graph.markUndoPoint();
+ Layer0 L0 = Layer0.getInstance(graph);
+ graph.claimLiteral(module, L0.SCLModule_definition, definition, Bindings.STRING);
+ Layer0Utils.addCommentMetadata(graph, "Set SCL module " + module + " definition.");
+ return module;