/**
  * Filter the query by a related \ECP\GroupEvePerson object
  *
  * @param \ECP\GroupEvePerson|ObjectCollection $groupEvePerson the related object to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return ChildGroupPersonTypeQuery The current query, for fluid interface
  */
 public function filterByGroupEvePerson($groupEvePerson, $comparison = null)
 {
     if ($groupEvePerson instanceof \ECP\GroupEvePerson) {
         return $this->addUsingAlias(GroupPersonTypeTableMap::COL_ID, $groupEvePerson->getGrouppersontypeid(), $comparison);
     } elseif ($groupEvePerson instanceof ObjectCollection) {
         return $this->useGroupEvePersonQuery()->filterByPrimaryKeys($groupEvePerson->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByGroupEvePerson() only accepts arguments of type \\ECP\\GroupEvePerson or Collection');
     }
 }