public function getFeatureTypeAvMetas($criteria = null, ConnectionInterface $con = null)
    {
        $partial = $this->collFeatureTypeAvMetasPartial && !$this->isNew();
        if (null === $this->collFeatureTypeAvMetas || null !== $criteria  || $partial) {
            if ($this->isNew() && null === $this->collFeatureTypeAvMetas) {
                // return empty collection
                $this->initFeatureTypeAvMetas();
            } else {
                $collFeatureTypeAvMetas = ChildFeatureTypeAvMetaQuery::create(null, $criteria)
                    ->filterByFeatureFeatureType($this)
                    ->find($con);

                if (null !== $criteria) {
                    if (false !== $this->collFeatureTypeAvMetasPartial && count($collFeatureTypeAvMetas)) {
                        $this->initFeatureTypeAvMetas(false);

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

                        $this->collFeatureTypeAvMetasPartial = true;
                    }

                    reset($collFeatureTypeAvMetas);

                    return $collFeatureTypeAvMetas;
                }

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

                $this->collFeatureTypeAvMetas = $collFeatureTypeAvMetas;
                $this->collFeatureTypeAvMetasPartial = false;
            }
        }

        return $this->collFeatureTypeAvMetas;
    }