/**
  * Sets a single ChildInvMetaTypes object as related to this object by a one-to-one relationship.
  *
  * @param  ChildInvMetaTypes $v ChildInvMetaTypes
  * @return $this|\EVE\InvTypes The current object (for fluent API support)
  * @throws PropelException
  */
 public function setInvMetaTypes(ChildInvMetaTypes $v = null)
 {
     $this->singleInvMetaTypes = $v;
     // Make sure that that the passed-in ChildInvMetaTypes isn't already associated with this object
     if ($v !== null && $v->getInvTypes(null, false) === null) {
         $v->setInvTypes($this);
     }
     return $this;
 }
 /**
  * Exclude object from result
  *
  * @param   ChildInvMetaTypes $invMetaTypes Object to remove from the list of results
  *
  * @return $this|ChildInvMetaTypesQuery The current query, for fluid interface
  */
 public function prune($invMetaTypes = null)
 {
     if ($invMetaTypes) {
         $this->addUsingAlias(InvMetaTypesTableMap::COL_TYPEID, $invMetaTypes->getTypeid(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
 /**
  * Filter the query by a related \EVE\InvMetaTypes object
  *
  * @param \EVE\InvMetaTypes|ObjectCollection $invMetaTypes the related object to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return ChildInvMetaGroupsQuery The current query, for fluid interface
  */
 public function filterByInvMetaTypes($invMetaTypes, $comparison = null)
 {
     if ($invMetaTypes instanceof \EVE\InvMetaTypes) {
         return $this->addUsingAlias(InvMetaGroupsTableMap::COL_METAGROUPID, $invMetaTypes->getMetagroupid(), $comparison);
     } elseif ($invMetaTypes instanceof ObjectCollection) {
         return $this->useInvMetaTypesQuery()->filterByPrimaryKeys($invMetaTypes->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByInvMetaTypes() only accepts arguments of type \\EVE\\InvMetaTypes or Collection');
     }
 }
 /**
  * @param ChildInvMetaTypes $invMetaTypes The ChildInvMetaTypes object to add.
  */
 protected function doAddInvMetaTypes(ChildInvMetaTypes $invMetaTypes)
 {
     $this->collInvMetaTypess[] = $invMetaTypes;
     $invMetaTypes->setInvMetaGroups($this);
 }