public function setPrimaryType($nodeTypeName) { $this->checkState(); throw new NotImplementedException('Write'); }