瀏覽代碼

add get for resource r2rml to use names when loading mappings in juma

Ademar Crotti 6 年之前
父節點
當前提交
0ab845fa86
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      src/r2rml/model/R2RMLResource.java

+ 6 - 3
src/r2rml/model/R2RMLResource.java

@@ -10,13 +10,16 @@ import org.apache.jena.rdf.model.Resource;
  *
  */
 public abstract class R2RMLResource {
-	
+
 	abstract protected boolean preProcessAndValidate();
 
 	protected Resource description = null;
-	
+
 	public R2RMLResource(Resource description) {
 		this.description = description;
 	}
-	
+
+	public Resource getDescription() {
+		return description;
+	}
 }