/**
  * Exclude object from result
  *
  * @param   ChildDgmEffects $dgmEffects Object to remove from the list of results
  *
  * @return $this|ChildDgmEffectsQuery The current query, for fluid interface
  */
 public function prune($dgmEffects = null)
 {
     if ($dgmEffects) {
         $this->addUsingAlias(DgmEffectsTableMap::COL_EFFECTID, $dgmEffects->getEffectid(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
 /**
  * Declares an association between this object and a ChildDgmEffects object.
  *
  * @param  ChildDgmEffects $v
  * @return $this|\EVE\DgmTypeEffects The current object (for fluent API support)
  * @throws PropelException
  */
 public function setDgmEffects(ChildDgmEffects $v = null)
 {
     if ($v === null) {
         $this->setEffectid(NULL);
     } else {
         $this->setEffectid($v->getEffectid());
     }
     $this->aDgmEffects = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the ChildDgmEffects object, it will not be re-added.
     if ($v !== null) {
         $v->addDgmTypeEffects($this);
     }
     return $this;
 }
 /**
  * Filter the query by a related \EVE\DgmEffects object
  *
  * @param \EVE\DgmEffects|ObjectCollection $dgmEffects 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 ChildDgmTypeEffectsQuery The current query, for fluid interface
  */
 public function filterByDgmEffects($dgmEffects, $comparison = null)
 {
     if ($dgmEffects instanceof \EVE\DgmEffects) {
         return $this->addUsingAlias(DgmTypeEffectsTableMap::COL_EFFECTID, $dgmEffects->getEffectid(), $comparison);
     } elseif ($dgmEffects instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(DgmTypeEffectsTableMap::COL_EFFECTID, $dgmEffects->toKeyValue('PrimaryKey', 'Effectid'), $comparison);
     } else {
         throw new PropelException('filterByDgmEffects() only accepts arguments of type \\EVE\\DgmEffects or Collection');
     }
 }