public function addMxmap(ChildMxmap $l)
    {
        if ($this->collMxmaps === null) {
            $this->initMxmaps();
            $this->collMxmapsPartial = true;
        }

        if (!$this->collMxmaps->contains($l)) {
            $this->doAddMxmap($l);

            if ($this->mxmapsScheduledForDeletion and $this->mxmapsScheduledForDeletion->contains($l)) {
                $this->mxmapsScheduledForDeletion->remove($this->mxmapsScheduledForDeletion->search($l));
            }
        }

        return $this;
    }