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

        $this->length = $length;
    }