public function getDealerContactVersions($criteria = null, ConnectionInterface $con = null)
    {
        $partial = $this->collDealerContactVersionsPartial && !$this->isNew();
        if (null === $this->collDealerContactVersions || null !== $criteria  || $partial) {
            if ($this->isNew() && null === $this->collDealerContactVersions) {
                // return empty collection
                $this->initDealerContactVersions();
            } else {
                $collDealerContactVersions = ChildDealerContactVersionQuery::create(null, $criteria)
                    ->filterByDealerContact($this)
                    ->find($con);

                if (null !== $criteria) {
                    if (false !== $this->collDealerContactVersionsPartial && count($collDealerContactVersions)) {
                        $this->initDealerContactVersions(false);

                        foreach ($collDealerContactVersions as $obj) {
                            if (false == $this->collDealerContactVersions->contains($obj)) {
                                $this->collDealerContactVersions->append($obj);
                            }
                        }

                        $this->collDealerContactVersionsPartial = true;
                    }

                    reset($collDealerContactVersions);

                    return $collDealerContactVersions;
                }

                if ($partial && $this->collDealerContactVersions) {
                    foreach ($this->collDealerContactVersions as $obj) {
                        if ($obj->isNew()) {
                            $collDealerContactVersions[] = $obj;
                        }
                    }
                }

                $this->collDealerContactVersions = $collDealerContactVersions;
                $this->collDealerContactVersionsPartial = false;
            }
        }

        return $this->collDealerContactVersions;
    }