public function setScale($scale)
    {
        if (($scale !== null) && (!is_int($scale) || ($scale < 0))) {
            throw SchemaException::invalidColumnScale($this->getName());
        }

        $this->scale = $scale;
    }