8 namespace Fossology\Lib\Data\Tree;
26 private $itemTreeBounds;
28 public function __construct(
ItemTreeBounds $itemTreeBounds, $parentId, $fileId,
31 $this->parentId = $parentId;
32 $this->fileId = $fileId;
33 $this->fileMode = $fileMode;
34 $this->fileName = $fileName;
35 $this->itemTreeBounds = $itemTreeBounds;
43 return $this->itemTreeBounds->getItemId();
51 return $this->parentId;
67 return $this->fileMode;
75 return $this->fileName;
83 return $this->itemTreeBounds;
107 return $this->itemTreeBounds->containsFiles();
115 return $this->parentId !==
null;
118 function __toString()
120 return "Item(#" . $this->
getId() .
", '" . $this->fileName .
"')";