public function getStaticPropertyValue($name)
    {
        $properties = $this->getStaticProperties();

        if (array_key_exists($name, $properties)) {
            return $properties[$name];
        }
        throw new ModelException(
            'Property ' . $name . ' does not exist or is not static.'
        );
    }