8 namespace Fossology\Lib\Data\Tree;
15 private $uploadTreeTableName;
41 public function __construct($itemId, $uploadTreeTableName, $uploadId, $left, $right)
43 $this->uploadTreeTableName = $uploadTreeTableName;
44 $this->uploadId = (int) $uploadId;
45 $this->left = (int) $left;
46 $this->right = (int) $right;
47 $this->itemId = (int) $itemId;
63 return $this->uploadTreeTableName;
71 return $this->uploadId;
90 public function containsFiles()
92 return $this->right - $this->left > 1;
97 return "ItemTreeBounds([" . $this->left .
", " . $this->right .
"] " .
98 "upload " . $this->uploadId .
"@" . $this->uploadTreeTableName .
")";
__construct($itemId, $uploadTreeTableName, $uploadId, $left, $right)