count = $count; return $this; } /** * Get count. * * @return int */ public function getQuantity() { return $this->quantity; } /** * Set color. * * @param Color $color * * @return Inventory_Part */ public function setColor($color) { $this->color = $color; return $this; } /** * Get color. * * @return Color */ public function getColor() { return $this->color; } /** * Set type. * * @param bool $type * * @return Inventory_Part */ public function setSpare($spare) { $this->spare = $spare; return $this; } /** * Get type. * * @return bool */ public function isSpare() { return $this->spare; } /** * @return Part */ public function getPart() { return $this->part; } /** * @param Part $part * * @return Inventory_Part */ public function setPart(Part $part) { $this->part = $part; return $this; } /** * @return Inventory */ public function getInventory() { return $this->inventory; } /** * @param Inventory $inventory * * @return Inventory_Part */ public function setInventory(Inventory $inventory) { $this->inventory = $inventory; return $this; } }