public function selectSatisfying(\TYPO3\Flow\Persistence\QueryInterface $query) { $query->logicalAnd($query->greaterThan($this->property, $this->start), $query->lowerThan($this->property, $this->end)); }