protected function fromArray(array $data)
{
$this->declaringNodeType = $data['declaringNodeType'];
$this->name = $data['name'];
$this->isAutoCreated = $data['isAutoCreated'];
$this->isMandatory = $data['isMandatory'];
$this->isProtected = $data['isProtected'];
$this->onParentVersion = $data['onParentVersion'];
}