/**
  * Clears the current object, sets all attributes to their default values and removes
  * outgoing references as well as back-references (from other objects to this one. Results probably in a database
  * change of those foreign objects when you call `save` there).
  */
 public function clear()
 {
     if (null !== $this->aInvGroups) {
         $this->aInvGroups->removeInvTypes($this);
     }
     $this->typeid = null;
     $this->groupid = null;
     $this->typename = null;
     $this->volume = null;
     $this->capacity = null;
     $this->published = null;
     $this->alreadyInSave = false;
     $this->clearAllReferences();
     $this->resetModified();
     $this->setNew(true);
     $this->setDeleted(false);
 }
 /**
  * @param ChildInvGroups $invGroups The ChildInvGroups object to add.
  */
 protected function doAddInvGroups(ChildInvGroups $invGroups)
 {
     $this->collInvGroupss[] = $invGroups;
     $invGroups->setInvCategories($this);
 }
 /**
  * Filter the query by a related \EVE\InvGroups object
  *
  * @param \EVE\InvGroups|ObjectCollection $invGroups the related object to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return ChildInvCategoriesQuery The current query, for fluid interface
  */
 public function filterByInvGroups($invGroups, $comparison = null)
 {
     if ($invGroups instanceof \EVE\InvGroups) {
         return $this->addUsingAlias(InvCategoriesTableMap::COL_CATEGORYID, $invGroups->getCategoryid(), $comparison);
     } elseif ($invGroups instanceof ObjectCollection) {
         return $this->useInvGroupsQuery()->filterByPrimaryKeys($invGroups->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByInvGroups() only accepts arguments of type \\EVE\\InvGroups or Collection');
     }
 }
 /**
  * Exclude object from result
  *
  * @param   ChildInvGroups $invGroups Object to remove from the list of results
  *
  * @return $this|ChildInvGroupsQuery The current query, for fluid interface
  */
 public function prune($invGroups = null)
 {
     if ($invGroups) {
         $this->addUsingAlias(InvGroupsTableMap::COL_GROUPID, $invGroups->getGroupid(), Criteria::NOT_EQUAL);
     }
     return $this;
 }