/**
  * @return string
  */
 public function getHierarchicalName()
 {
     if ($this->parent === null) {
         return $this->name;
     }
     return $this->parent->getHierarchicalName() . '.' . $this->name;
 }