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