예제 #1
0
 /**
  * Declares an association between this object and a ChildUsers object.
  *
  * @param  ChildUsers $v
  * @return $this|\Data The current object (for fluent API support)
  * @throws PropelException
  */
 public function setuserSysRef(ChildUsers $v = null)
 {
     if ($v === null) {
         $this->setUserSys(NULL);
     } else {
         $this->setUserSys($v->getId());
     }
     $this->auserSysRef = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the ChildUsers object, it will not be re-added.
     if ($v !== null) {
         $v->addData($this);
     }
     return $this;
 }