/**
  * @return self
  */
 public function setRemoved()
 {
     if ($this->hasDependencies()) {
         $this->entity->setRemoved();
     }
     return $this;
 }