public function getBrand(ConnectionInterface $con = null)
    {
        if ($this->aBrand === null && ($this->brand_id !== null)) {
            $this->aBrand = BrandQuery::create()->findPk($this->brand_id, $con);
            /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aBrand->addDealerBrands($this);
             */
        }

        return $this->aBrand;
    }
public function getBrand(ConnectionInterface $con = null)
    {
        if ($this->aBrand === null && ($this->brand_id !== null)) {
            $this->aBrand = BrandQuery::create()->findPk($this->brand_id, $con);
            /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aBrand->addDealerBrands($this);
             */
        }

        return $this->aBrand;
    }
public function getBrand ( ConnectionInterface $ con = null ) { if ( $ this -> aBrand === null && ( $ this -> brand_id !== null ) ) { $ this -> aBrand = BrandQuery :: create ( ) -> findPk ( $ this -> brand_id , $ con ) ; /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aBrand->addDealerBrands($this);
             */ } return $ this -> aBrand ; }
Get the associated ChildBrand object

@param      ConnectionInterface $con Optional Connection object.
@return                 ChildBrand The associated ChildBrand object.
@throws PropelException
Get the associated ChildBrand object