public function filterByMxmap($mxmap, $comparison = null)
    {
        if ($mxmap instanceof \eXpansion\Bundle\Maps\Model\Mxmap) {
            return $this
                ->addUsingAlias(MapTableMap::COL_MAPUID, $mxmap->getTrackuid(), $comparison);
        } elseif ($mxmap instanceof ObjectCollection) {
            return $this
                ->useMxmapQuery()
                ->filterByPrimaryKeys($mxmap->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByMxmap() only accepts arguments of type \eXpansion\Bundle\Maps\Model\Mxmap or Collection');
        }
    }