Example #1
0
 /**
  * Sets a single ChildApplication object as related to this object by a one-to-one relationship.
  *
  * @param  ChildApplication $v ChildApplication
  * @return $this|\keeko\core\model\Package The current object (for fluent API support)
  * @throws PropelException
  */
 public function setApplication(ChildApplication $v = null)
 {
     $this->singleApplication = $v;
     // Make sure that that the passed-in ChildApplication isn't already associated with this object
     if ($v !== null && $v->getPackage(null, false) === null) {
         $v->setPackage($this);
     }
     return $this;
 }