public function setMap(ChildMap $v = null)
    {
        if ($v === null) {
            $this->setTrackuid(NULL);
        } else {
            $this->setTrackuid($v->getMapuid());
        }

        $this->aMap = $v;

        // Add binding for other direction of this n:n relationship.
        // If this object has already been added to the ChildMap object, it will not be re-added.
        if ($v !== null) {
            $v->addMxmap($this);
        }


        return $this;
    }
public function setMap(ChildMap $v = null)
    {
        if ($v === null) {
            $this->setTrackuid(NULL);
        } else {
            $this->setTrackuid($v->getMapuid());
        }

        $this->aMap = $v;

        // Add binding for other direction of this n:n relationship.
        // If this object has already been added to the ChildMap object, it will not be re-added.
        if ($v !== null) {
            $v->addMxmap($this);
        }


        return $this;
    }
public function setMap ( ChildMap $ v = null ) { if ( $ v === null ) { $ this -> setTrackuid ( NULL ) ; } else { $ this -> setTrackuid ( $ v -> getMapuid ( ) ) ; } $ this -> aMap = $ v ; // Add binding for other direction of this n:n relationship. // If this object has already been added to the ChildMap object, it will not be re-added. if ( $ v !== null ) { $ v -> addMxmap ( $ this ) ; } return $ this ; }
Declares an association between this object and a ChildMap object.

@param  ChildMap $v
@return $this|\eXpansion\Bundle\Maps\Model\Mxmap The current object (for fluent API support)
@throws PropelException
Declares an association between this object and a ChildMap object .