public function getValidations($property)
    {
        if (is_string($property)) {
            $property = $this->_description->getProperty($property);
        }

        $name = $property->getName();

        if (!$this->_validations->$name) {
            $this->_validations->$name = new AnConfig();
        }

        return $this->_validations->$name;
    }