3 declare(strict_types=1);
23 use DateTimeImmutable;
184 if (is_null($this->
id)) {
186 $data = $this->
raw(self::FIELD_ID);
187 if (is_null($data)) {
190 $this->
id = (string) $data;
204 if (is_null($this->version)) {
206 $data = $this->
raw(self::FIELD_VERSION);
207 if (is_null($data)) {
210 $this->version = (int) $data;
224 if (is_null($this->createdAt)) {
226 $data = $this->
raw(self::FIELD_CREATED_AT);
227 if (is_null($data)) {
231 if (
false === $data) {
234 $this->createdAt = $data;
248 if (is_null($this->lastModifiedAt)) {
250 $data = $this->
raw(self::FIELD_LAST_MODIFIED_AT);
251 if (is_null($data)) {
255 if (
false === $data) {
258 $this->lastModifiedAt = $data;
272 if (is_null($this->lastModifiedBy)) {
274 $data = $this->
raw(self::FIELD_LAST_MODIFIED_BY);
275 if (is_null($data)) {
293 if (is_null($this->createdBy)) {
295 $data = $this->
raw(self::FIELD_CREATED_BY);
296 if (is_null($data)) {
315 if (is_null($this->sequenceNumber)) {
317 $data = $this->
raw(self::FIELD_SEQUENCE_NUMBER);
318 if (is_null($data)) {
321 $this->sequenceNumber = (int) $data;
335 if (is_null($this->resource)) {
337 $data = $this->
raw(self::FIELD_RESOURCE);
338 if (is_null($data)) {
342 $this->resource = $className::of($data);
356 if (is_null($this->resourceVersion)) {
358 $data = $this->
raw(self::FIELD_RESOURCE_VERSION);
359 if (is_null($data)) {
362 $this->resourceVersion = (int) $data;
376 if (is_null($this->type)) {
378 $data = $this->
raw(self::FIELD_TYPE);
379 if (is_null($data)) {
382 $this->type = (string) $data;
396 if (is_null($this->resourceUserProvidedIdentifiers)) {
398 $data = $this->
raw(self::FIELD_RESOURCE_USER_PROVIDED_IDENTIFIERS);
399 if (is_null($data)) {
417 if (is_null($this->oldState)) {
419 $data = $this->
raw(self::FIELD_OLD_STATE);
420 if (is_null($data)) {
438 if (is_null($this->newState)) {
440 $data = $this->
raw(self::FIELD_NEW_STATE);
441 if (is_null($data)) {
459 if (is_null($this->oldIncludedInStatistics)) {
461 $data = $this->
raw(self::FIELD_OLD_INCLUDED_IN_STATISTICS);
462 if (is_null($data)) {
465 $this->oldIncludedInStatistics = (bool) $data;
479 if (is_null($this->newIncludedInStatistics)) {
481 $data = $this->
raw(self::FIELD_NEW_INCLUDED_IN_STATISTICS);
482 if (is_null($data)) {
485 $this->newIncludedInStatistics = (bool) $data;
499 if (is_null($this->target)) {
501 $data = $this->
raw(self::FIELD_TARGET);
502 if (is_null($data)) {
506 $this->target = $className::of($data);
520 if (is_null($this->force)) {
522 $data = $this->
raw(self::FIELD_FORCE);
523 if (is_null($data)) {
526 $this->force = (bool) $data;
662 #[\ReturnTypeWillChange]
673 return (
object) $data;