Beispiel #1
0
 /**
  * Sets a single ChildKstruktur object as related to this object by a one-to-one relationship.
  *
  * @param  ChildKstruktur $v ChildKstruktur
  * @return $this|\gossi\trixionary\model\StructureNode The current object (for fluent API support)
  * @throws PropelException
  */
 public function setKstruktur(ChildKstruktur $v = null)
 {
     $this->singleKstruktur = $v;
     // Make sure that that the passed-in ChildKstruktur isn't already associated with this object
     if ($v !== null && $v->getStructureNode(null, false) === null) {
         $v->setStructureNode($this);
     }
     return $this;
 }