diff -r 2b3247d02769 -r f55970e41793 server/src/app/Libraries/RdfModel/RdfModelResource.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/server/src/app/Libraries/RdfModel/RdfModelResource.php Mon Oct 05 17:02:10 2015 +0200 @@ -0,0 +1,43 @@ +uri = $uri; + } + + protected $deltaList = []; + protected $currentDelta = null; + protected $uri = null; + + public function isDirty() { + return !is_null($this->deltaList) && count($this->deltaList)>0; + } + + public function deltaCount() { + return is_null($this->deltaList)?0:count($this->deltaList); + } + + public function getDeltaList() { + return $this->deltaList; + } + + public function getUri() { + return $this->uri; + } + + public function startDelta() { + $this->currentDelta = new RdfModelDelta($this->getGraph()->getUri()); + array_push($this->deltaList, $this->currentDelta); + } + + +}