equal
deleted
inserted
replaced
7 * |
7 * |
8 */ |
8 */ |
9 class RdfModelDelta { |
9 class RdfModelDelta { |
10 |
10 |
11 public function __construct($uri) { |
11 public function __construct($uri) { |
|
12 $this->uri = $uri; |
12 $this->deletedGraph = new Graph($uri); |
13 $this->deletedGraph = new Graph($uri); |
13 $this->addedGraph = new Graph($uri); |
14 $this->addedGraph = new Graph($uri); |
|
15 $this->deleteWhere = []; |
14 } |
16 } |
15 |
17 |
16 private $deletedGraph; |
18 private $deletedGraph; |
17 private $addedGraph; |
19 private $addedGraph; |
|
20 private $deleteWhere; |
18 |
21 |
19 public function getDeletedGraph() { |
22 public function getDeletedGraph() { |
20 return $this->deletedGraph; |
23 return $this->deletedGraph; |
21 } |
24 } |
22 |
25 |
23 public function getAddedGraph() { |
26 public function getAddedGraph() { |
24 return $this->addedGraph; |
27 return $this->addedGraph; |
25 } |
28 } |
26 |
29 |
|
30 public function getDeleteWhere() { |
|
31 return $this->deleteWhere; |
|
32 } |
|
33 |
|
34 public function addDeleteWhere(string $value) { |
|
35 array_push($this->deleteWhere, $value); |
|
36 return $this; |
|
37 } |
|
38 |
|
39 public function getUri() { |
|
40 return $this->uri; |
|
41 } |
|
42 |
27 } |
43 } |