public function getDealerContentVersions($criteria = null, ConnectionInterface $con = null)
    {
        $partial = $this->collDealerContentVersionsPartial && !$this->isNew();
        if (null === $this->collDealerContentVersions || null !== $criteria  || $partial) {
            if ($this->isNew() && null === $this->collDealerContentVersions) {
                // return empty collection
                $this->initDealerContentVersions();
            } else {
                $collDealerContentVersions = ChildDealerContentVersionQuery::create(null, $criteria)
                    ->filterByDealerContent($this)
                    ->find($con);

                if (null !== $criteria) {
                    if (false !== $this->collDealerContentVersionsPartial && count($collDealerContentVersions)) {
                        $this->initDealerContentVersions(false);

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

                        $this->collDealerContentVersionsPartial = true;
                    }

                    reset($collDealerContentVersions);

                    return $collDealerContentVersions;
                }

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

                $this->collDealerContentVersions = $collDealerContentVersions;
                $this->collDealerContentVersionsPartial = false;
            }
        }

        return $this->collDealerContentVersions;
    }