/**
  * Filter the query by a related \ECP\EveApi object
  *
  * @param \ECP\EveApi|ObjectCollection $eveApi 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 ChildEveCharacterQuery The current query, for fluid interface
  */
 public function filterByEveApi($eveApi, $comparison = null)
 {
     if ($eveApi instanceof \ECP\EveApi) {
         return $this->addUsingAlias(EveCharacterTableMap::COL_EVEAPIID, $eveApi->getId(), $comparison);
     } elseif ($eveApi instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(EveCharacterTableMap::COL_EVEAPIID, $eveApi->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByEveApi() only accepts arguments of type \\ECP\\EveApi or Collection');
     }
 }
 /**
  * Exclude object from result
  *
  * @param   ChildEveApi $eveApi Object to remove from the list of results
  *
  * @return $this|ChildEveApiQuery The current query, for fluid interface
  */
 public function prune($eveApi = null)
 {
     if ($eveApi) {
         $this->addUsingAlias(EveApiTableMap::COL_ID, $eveApi->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
 /**
  * Declares an association between this object and a ChildEveApi object.
  *
  * @param  ChildEveApi $v
  * @return $this|\ECP\EveCharacter The current object (for fluent API support)
  * @throws PropelException
  */
 public function setEveApi(ChildEveApi $v = null)
 {
     if ($v === null) {
         $this->setEveapiid(NULL);
     } else {
         $this->setEveapiid($v->getId());
     }
     $this->aEveApi = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the ChildEveApi object, it will not be re-added.
     if ($v !== null) {
         $v->addEveCharacter($this);
     }
     return $this;
 }