protected function loadFromUniqueIdentifier($uniqueIdentifier)
    {
        $this->newRecord = false;
        $repository = $this->getRepository();
        $repository->hydrateObject($this, $uniqueIdentifier);
        $this->onLoaded();
    }