public function setSchema($schema)
    {
        if (is_array($schema)) {
            $schema = new Schema($this->getName(), $schema);
        }

        $this->_schema = $schema;

        return $this;
    }