GDS\Entity::setSchema PHP Method

setSchema() public method

Set the Schema for the Entity
public setSchema ( Schema $obj_schema )
$obj_schema Schema
    public function setSchema(Schema $obj_schema)
    {
        $this->obj_schema = $obj_schema;
        $this->setKind($obj_schema->getKind());
        return $this;
    }