| @@ 396-412 (lines=17) @@ | ||
| 393 | * @param string $v new value |
|
| 394 | * @return $this|\Jalle19\StatusManager\Database\Channel The current object (for fluent API support) |
|
| 395 | */ |
|
| 396 | public function setInstanceName($v) |
|
| 397 | { |
|
| 398 | if ($v !== null) { |
|
| 399 | $v = (string) $v; |
|
| 400 | } |
|
| 401 | ||
| 402 | if ($this->instance_name !== $v) { |
|
| 403 | $this->instance_name = $v; |
|
| 404 | $this->modifiedColumns[ChannelTableMap::COL_INSTANCE_NAME] = true; |
|
| 405 | } |
|
| 406 | ||
| 407 | if ($this->aInstance !== null && $this->aInstance->getName() !== $v) { |
|
| 408 | $this->aInstance = null; |
|
| 409 | } |
|
| 410 | ||
| 411 | return $this; |
|
| 412 | } // setInstanceName() |
|
| 413 | ||
| 414 | /** |
|
| 415 | * Set the value of [name] column. |
|
| @@ 449-465 (lines=17) @@ | ||
| 446 | * @param string $v new value |
|
| 447 | * @return $this|\Jalle19\StatusManager\Database\Connection The current object (for fluent API support) |
|
| 448 | */ |
|
| 449 | public function setInstanceName($v) |
|
| 450 | { |
|
| 451 | if ($v !== null) { |
|
| 452 | $v = (string) $v; |
|
| 453 | } |
|
| 454 | ||
| 455 | if ($this->instance_name !== $v) { |
|
| 456 | $this->instance_name = $v; |
|
| 457 | $this->modifiedColumns[ConnectionTableMap::COL_INSTANCE_NAME] = true; |
|
| 458 | } |
|
| 459 | ||
| 460 | if ($this->aInstance !== null && $this->aInstance->getName() !== $v) { |
|
| 461 | $this->aInstance = null; |
|
| 462 | } |
|
| 463 | ||
| 464 | return $this; |
|
| 465 | } // setInstanceName() |
|
| 466 | ||
| 467 | /** |
|
| 468 | * Set the value of [user_id] column. |
|
| @@ 473-489 (lines=17) @@ | ||
| 470 | * @param int $v new value |
|
| 471 | * @return $this|\Jalle19\StatusManager\Database\Connection The current object (for fluent API support) |
|
| 472 | */ |
|
| 473 | public function setUserId($v) |
|
| 474 | { |
|
| 475 | if ($v !== null) { |
|
| 476 | $v = (int) $v; |
|
| 477 | } |
|
| 478 | ||
| 479 | if ($this->user_id !== $v) { |
|
| 480 | $this->user_id = $v; |
|
| 481 | $this->modifiedColumns[ConnectionTableMap::COL_USER_ID] = true; |
|
| 482 | } |
|
| 483 | ||
| 484 | if ($this->aUser !== null && $this->aUser->getId() !== $v) { |
|
| 485 | $this->aUser = null; |
|
| 486 | } |
|
| 487 | ||
| 488 | return $this; |
|
| 489 | } // setUserId() |
|
| 490 | ||
| 491 | /** |
|
| 492 | * Set the value of [peer] column. |
|
| @@ 517-533 (lines=17) @@ | ||
| 514 | * @param string $v new value |
|
| 515 | * @return $this|\Jalle19\StatusManager\Database\Subscription The current object (for fluent API support) |
|
| 516 | */ |
|
| 517 | public function setInstanceName($v) |
|
| 518 | { |
|
| 519 | if ($v !== null) { |
|
| 520 | $v = (string) $v; |
|
| 521 | } |
|
| 522 | ||
| 523 | if ($this->instance_name !== $v) { |
|
| 524 | $this->instance_name = $v; |
|
| 525 | $this->modifiedColumns[SubscriptionTableMap::COL_INSTANCE_NAME] = true; |
|
| 526 | } |
|
| 527 | ||
| 528 | if ($this->aInstance !== null && $this->aInstance->getName() !== $v) { |
|
| 529 | $this->aInstance = null; |
|
| 530 | } |
|
| 531 | ||
| 532 | return $this; |
|
| 533 | } // setInstanceName() |
|
| 534 | ||
| 535 | /** |
|
| 536 | * Set the value of [user_id] column. |
|
| @@ 541-557 (lines=17) @@ | ||
| 538 | * @param int $v new value |
|
| 539 | * @return $this|\Jalle19\StatusManager\Database\Subscription The current object (for fluent API support) |
|
| 540 | */ |
|
| 541 | public function setUserId($v) |
|
| 542 | { |
|
| 543 | if ($v !== null) { |
|
| 544 | $v = (int) $v; |
|
| 545 | } |
|
| 546 | ||
| 547 | if ($this->user_id !== $v) { |
|
| 548 | $this->user_id = $v; |
|
| 549 | $this->modifiedColumns[SubscriptionTableMap::COL_USER_ID] = true; |
|
| 550 | } |
|
| 551 | ||
| 552 | if ($this->aUser !== null && $this->aUser->getId() !== $v) { |
|
| 553 | $this->aUser = null; |
|
| 554 | } |
|
| 555 | ||
| 556 | return $this; |
|
| 557 | } // setUserId() |
|
| 558 | ||
| 559 | /** |
|
| 560 | * Set the value of [channel_id] column. |
|
| @@ 565-581 (lines=17) @@ | ||
| 562 | * @param int $v new value |
|
| 563 | * @return $this|\Jalle19\StatusManager\Database\Subscription The current object (for fluent API support) |
|
| 564 | */ |
|
| 565 | public function setChannelId($v) |
|
| 566 | { |
|
| 567 | if ($v !== null) { |
|
| 568 | $v = (int) $v; |
|
| 569 | } |
|
| 570 | ||
| 571 | if ($this->channel_id !== $v) { |
|
| 572 | $this->channel_id = $v; |
|
| 573 | $this->modifiedColumns[SubscriptionTableMap::COL_CHANNEL_ID] = true; |
|
| 574 | } |
|
| 575 | ||
| 576 | if ($this->aChannel !== null && $this->aChannel->getId() !== $v) { |
|
| 577 | $this->aChannel = null; |
|
| 578 | } |
|
| 579 | ||
| 580 | return $this; |
|
| 581 | } // setChannelId() |
|
| 582 | ||
| 583 | /** |
|
| 584 | * Set the value of [subscription_id] column. |
|
| @@ 411-427 (lines=17) @@ | ||
| 408 | * @param string $v new value |
|
| 409 | * @return $this|\Jalle19\StatusManager\Database\User The current object (for fluent API support) |
|
| 410 | */ |
|
| 411 | public function setInstanceName($v) |
|
| 412 | { |
|
| 413 | if ($v !== null) { |
|
| 414 | $v = (string) $v; |
|
| 415 | } |
|
| 416 | ||
| 417 | if ($this->instance_name !== $v) { |
|
| 418 | $this->instance_name = $v; |
|
| 419 | $this->modifiedColumns[UserTableMap::COL_INSTANCE_NAME] = true; |
|
| 420 | } |
|
| 421 | ||
| 422 | if ($this->aInstance !== null && $this->aInstance->getName() !== $v) { |
|
| 423 | $this->aInstance = null; |
|
| 424 | } |
|
| 425 | ||
| 426 | return $this; |
|
| 427 | } // setInstanceName() |
|
| 428 | ||
| 429 | /** |
|
| 430 | * Set the value of [name] column. |
|