3 declare(strict_types=1);
25 use DateTimeImmutable;
162 if (is_null($this->
id)) {
164 $data = $this->
raw(self::FIELD_ID);
165 if (is_null($data)) {
168 $this->
id = (string) $data;
182 if (is_null($this->version)) {
184 $data = $this->
raw(self::FIELD_VERSION);
185 if (is_null($data)) {
188 $this->version = (int) $data;
202 if (is_null($this->createdAt)) {
204 $data = $this->
raw(self::FIELD_CREATED_AT);
205 if (is_null($data)) {
209 if (
false === $data) {
212 $this->createdAt = $data;
226 if (is_null($this->lastModifiedAt)) {
228 $data = $this->
raw(self::FIELD_LAST_MODIFIED_AT);
229 if (is_null($data)) {
233 if (
false === $data) {
236 $this->lastModifiedAt = $data;
250 if (is_null($this->lastModifiedBy)) {
252 $data = $this->
raw(self::FIELD_LAST_MODIFIED_BY);
253 if (is_null($data)) {
271 if (is_null($this->createdBy)) {
273 $data = $this->
raw(self::FIELD_CREATED_BY);
274 if (is_null($data)) {
293 if (is_null($this->sequenceNumber)) {
295 $data = $this->
raw(self::FIELD_SEQUENCE_NUMBER);
296 if (is_null($data)) {
299 $this->sequenceNumber = (int) $data;
313 if (is_null($this->resource)) {
315 $data = $this->
raw(self::FIELD_RESOURCE);
316 if (is_null($data)) {
320 $this->resource = $className::of($data);
334 if (is_null($this->resourceVersion)) {
336 $data = $this->
raw(self::FIELD_RESOURCE_VERSION);
337 if (is_null($data)) {
340 $this->resourceVersion = (int) $data;
354 if (is_null($this->type)) {
356 $data = $this->
raw(self::FIELD_TYPE);
357 if (is_null($data)) {
360 $this->type = (string) $data;
374 if (is_null($this->resourceUserProvidedIdentifiers)) {
376 $data = $this->
raw(self::FIELD_RESOURCE_USER_PROVIDED_IDENTIFIERS);
377 if (is_null($data)) {
395 if (is_null($this->associate)) {
397 $data = $this->
raw(self::FIELD_ASSOCIATE);
398 if (is_null($data)) {
416 if (is_null($this->rejectionReason)) {
418 $data = $this->
raw(self::FIELD_REJECTION_REASON);
419 if (is_null($data)) {
422 $this->rejectionReason = (string) $data;
436 if (is_null($this->order)) {
438 $data = $this->
raw(self::FIELD_ORDER);
439 if (is_null($data)) {
555 #[\ReturnTypeWillChange]
566 return (
object) $data;