Beispiel #1
0
 /**
  * Sets a single AfaLeg object as related to this object by a one-to-one relationship.
  *
  * @param      AfaLeg $l AfaLeg
  * @return     MissionLeg The current object (for fluent API support)
  * @throws     PropelException
  */
 public function setAfaLeg(AfaLeg $v)
 {
     $this->singleAfaLeg = $v;
     // Make sure that that the passed-in AfaLeg isn't already associated with this object
     if ($v->getMissionLeg() === null) {
         $v->setMissionLeg($this);
     }
     return $this;
 }