Mercurial > hg > org.digitalhps.storage.triplestoreimplementation
diff src/org/digitalhps/storage/triplestoreimplementation/events/RelationEvent.java @ 0:33d1589a61a7 default tip
initial
author | dwinter |
---|---|
date | Thu, 08 Dec 2011 09:18:00 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/org/digitalhps/storage/triplestoreimplementation/events/RelationEvent.java Thu Dec 08 09:18:00 2011 +0100 @@ -0,0 +1,88 @@ +package org.digitalhps.storage.triplestoreimplementation.events; + +import java.net.URI; +import java.util.Date; + +import org.digitalhps.storage.objects.interfaces.elements.IActor; +import org.digitalhps.storage.objects.interfaces.elements.IRelation; +import org.digitalhps.storage.objects.interfaces.elements.ISourceReference; +import org.digitalhps.storage.objects.interfaces.events.ICreationEvent; +import org.digitalhps.storage.objects.interfaces.events.IRelationEvent; +import org.digitalhps.storage.triplestoreimplementation.annotations.RDFPredicate; +import org.digitalhps.storage.triplestoreimplementation.annotations.RDFType; +import org.digitalhps.storage.triplestoreimplementation.annotations.RDFInstanceURL; + +@RDFType("test://relationEvent") +@RDFInstanceURL("test://relationEvent/") +public class RelationEvent implements IRelationEvent { + + @RDFPredicate("test://has_source") + public String sourceReference; + + @RDFPredicate("test://has_creator") + public String creator; + + @RDFPredicate("test://has_creationDate") + public String creationDate; + + @RDFPredicate("test://has_creationPlace") + public String creationPlace; + + @RDFPredicate("test://has_creationPredecessors") + public RelationEvent[] predecessors; + + @RDFPredicate("test://has_id") // FIXME das sollte eigentlich die uri der ressource im triplestore sein, daher kein predicate + public String id; + + @RDFPredicate("test://has_relation") + public String relation; + + @Override + public ISourceReference getSourceReference() { + // TODO Auto-generated method stub + return null; + } + + @Override + public IActor getCreator() { + // TODO Auto-generated method stub + return null; + } + + @Override + public Date getCreationDate() { + // TODO Auto-generated method stub + return null; + } + + @Override + public String getCreationPlace() { + // TODO Auto-generated method stub + return null; + } + + @Override + public ICreationEvent[] getPredecessors() { + // TODO Auto-generated method stub + return null; + } + + @Override + public URI getId() { + // TODO Auto-generated method stub + return null; + } + + @Override + public IRelation getRelation() { + // TODO Auto-generated method stub + return null; + } + + @Override + public IActor getRelationCreator() { + // TODO Auto-generated method stub + return null; + } + +}