Mercurial > hg > semantic-sia
changeset 75:bc2abbaaa23f
added Resource resource attribute and getters and setters
author | stevenh |
---|---|
date | Fri, 02 Aug 2013 15:42:04 +0100 |
parents | 96db6b006daf |
children | 37d8b5284727 |
files | src/org/qmul/eecs/c4dm/sia/model/ToDatapoint.java |
diffstat | 1 files changed, 18 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/org/qmul/eecs/c4dm/sia/model/ToDatapoint.java Fri Aug 02 15:41:27 2013 +0100 +++ b/src/org/qmul/eecs/c4dm/sia/model/ToDatapoint.java Fri Aug 02 15:42:04 2013 +0100 @@ -2,8 +2,25 @@ import org.qmul.eecs.c4dm.sia.rdf.Namespaces; +import com.hp.hpl.jena.rdf.model.Resource; + public class ToDatapoint { public static final String PROPERTY_URI = Namespaces.SIA_NS_URI + "toDatapoint"; - + private Resource resource; + + /** + * @return + */ + public Resource getResource() { + return resource; + } + + /** + * @param resource + */ + public void setResource(Resource resource) { + this.resource = resource; + } + }