public function getObjectStateService()
{
if ($this->objectStateService !== null) {
return $this->objectStateService;
}
$this->objectStateService = new ObjectStateService($this, $this->persistenceHandler->objectStateHandler(), $this->serviceSettings['objectState']);
return $this->objectStateService;
}