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