/**
  * Filter the query by a related Album object
  *
  * @param   Album|PropelObjectCollection $album  the related object to use as filter
  * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return                 InterpretQuery The current query, for fluid interface
  * @throws PropelException - if the provided filter is invalid.
  */
 public function filterByAlbum($album, $comparison = null)
 {
     if ($album instanceof Album) {
         return $this->addUsingAlias(InterpretPeer::ID, $album->getInterpretId(), $comparison);
     } elseif ($album instanceof PropelObjectCollection) {
         return $this->useAlbumQuery()->filterByPrimaryKeys($album->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByAlbum() only accepts arguments of type Album or PropelCollection');
     }
 }