protected function getEmbeddedEntityTypeFor($attribute_name, $embedded_type_prefix)
    {
        $attribute = $this->getType()->getAttribute($attribute_name);

        return $attribute->getEmbeddedTypeByPrefix($embedded_type_prefix);
    }