Explorar o código

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

Ademar Crotti %!s(int64=6) %!d(string=hai) anos
pai
achega
0ab845fa86
Modificáronse 1 ficheiros con 6 adicións e 3 borrados
  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;
+	}
 }