/**
  * Declares an association between this object and a ChildDiaporama object.
  *
  * @param                  ChildDiaporama $v
  * @return                 \Diaporamas\Model\DiaporamaImage The current object (for fluent API support)
  * @throws PropelException
  */
 public function setDiaporama(ChildDiaporama $v = null)
 {
     if ($v === null) {
         $this->setDiaporamaId(NULL);
     } else {
         $this->setDiaporamaId($v->getId());
     }
     $this->aDiaporama = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the ChildDiaporama object, it will not be re-added.
     if ($v !== null) {
         $v->addDiaporamaImage($this);
     }
     return $this;
 }