diff -r ef32bf573d9c -r bd4bc1db4f40 server/src/app/Libraries/RdfModel/RdfModelDelta.php --- a/server/src/app/Libraries/RdfModel/RdfModelDelta.php Thu Sep 08 19:15:46 2016 +0200 +++ b/server/src/app/Libraries/RdfModel/RdfModelDelta.php Thu Sep 22 12:38:24 2016 +0200 @@ -9,12 +9,15 @@ class RdfModelDelta { public function __construct($uri) { + $this->uri = $uri; $this->deletedGraph = new Graph($uri); $this->addedGraph = new Graph($uri); + $this->deleteWhere = []; } private $deletedGraph; private $addedGraph; + private $deleteWhere; public function getDeletedGraph() { return $this->deletedGraph; @@ -24,4 +27,17 @@ return $this->addedGraph; } + public function getDeleteWhere() { + return $this->deleteWhere; + } + + public function addDeleteWhere(string $value) { + array_push($this->deleteWhere, $value); + return $this; + } + + public function getUri() { + return $this->uri; + } + }