| 1 | <?php |
||
| 12 | class BetweenQuery extends AbstractQuery { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var PropertyId |
||
| 16 | */ |
||
| 17 | private $propertyId; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var TimeValue|null |
||
| 21 | */ |
||
| 22 | private $beginValue; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var TimeValue|null |
||
| 26 | */ |
||
| 27 | private $endValue; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param PropertyId $propertyId |
||
| 31 | * @param TimeValue|null $beginValue |
||
| 32 | * @param TimeValue|null $endValue |
||
| 33 | */ |
||
| 34 | 4 | public function __construct( PropertyId $propertyId, TimeValue $beginValue = null, TimeValue $endValue = null ) { |
|
| 35 | 4 | $this->propertyId = $propertyId; |
|
| 36 | 4 | $this->beginValue = $beginValue; |
|
| 37 | 4 | $this->endValue = $endValue; |
|
| 38 | 4 | } |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @return PropertyId |
||
| 42 | */ |
||
| 43 | 1 | public function getPropertyId() { |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @return TimeValue|null |
||
| 49 | */ |
||
| 50 | 1 | public function getBeginValue() { |
|
| 53 | |||
| 54 | /** |
||
| 55 | * @return TimeValue|null |
||
| 56 | */ |
||
| 57 | 1 | public function getEndValue() { |
|
| 60 | |||
| 61 | /** |
||
| 62 | * @see AbstractQuery::getType |
||
| 63 | */ |
||
| 64 | 1 | public function getType() { |
|
| 67 | } |
||
| 68 |