| 1 | <?php |
||
| 12 | class XDynamicKey |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $documentId; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $repositoryMethod; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $refField = 'getRef'; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function getDocumentId() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param string $documentId document-id field |
||
| 39 | * @return $this |
||
| 40 | */ |
||
| 41 | public function setDocumentId($documentId) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getRepositoryMethod() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @param string $repositoryMethod repository-method field |
||
| 57 | * @return $this |
||
| 58 | */ |
||
| 59 | public function setRepositoryMethod($repositoryMethod) |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return string |
||
| 67 | */ |
||
| 68 | public function getRefField() |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @param string $refField reference the dynamic field is resolved through |
||
| 75 | * @return $this |
||
| 76 | */ |
||
| 77 | public function setRefField($refField) |
||
| 82 | } |
||
| 83 |