/**
  * Filter the query by a related \ECP\GroupEvePerson object
  *
  * @param \ECP\GroupEvePerson|ObjectCollection $groupEvePerson The related object(s) to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @throws \Propel\Runtime\Exception\PropelException
  *
  * @return ChildGroupPersonQuery The current query, for fluid interface
  */
 public function filterByGroupEvePerson($groupEvePerson, $comparison = null)
 {
     if ($groupEvePerson instanceof \ECP\GroupEvePerson) {
         return $this->addUsingAlias(GroupPersonTableMap::COL_GROUPEVEPERSONID, $groupEvePerson->getId(), $comparison);
     } elseif ($groupEvePerson instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(GroupPersonTableMap::COL_GROUPEVEPERSONID, $groupEvePerson->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByGroupEvePerson() only accepts arguments of type \\ECP\\GroupEvePerson or Collection');
     }
 }