vehicles = new ArrayCollection(); $this->cust_vehicles = new ArrayCollection(); $this->res_capacity = 0; $this->length = 0; $this->width = 0; $this->height = 0; $this->total_height = 0; } public function getID() { return $this->id; } public function setManufacturer($manufacturer) { $this->manufacturer = $manufacturer; return $this; } public function getManufacturer() { return $this->manufacturer; } public function setModel($model) { $this->model = $model; return $this; } public function getModel() { return $this->model; } public function setSize($size) { $this->size = $size; return $this; } public function getSize() { return $this->size; } public function addVehicle(Vehicle $vehicle) { $this->vehicles[$vehicle->getID()] = $vehicle; return $this; } public function clearVehicles() { $this->vehicles->clear(); return $this; } public function getVehicles() { return $this->vehicles; } public function setProductCode($prod_code) { $this->prod_code = $prod_code; return $this; } public function getProductCode() { return $this->prod_code; } public function setSAPCode($sap_code) { $this->sap_code = $sap_code; return $this; } public function getSAPCode() { return $this->sap_code; } public function setWarrantyPrivate($warr_private) { $this->warr_private = $warr_private; return $this; } public function getWarrantyPrivate() { return $this->warr_private; } public function setWarrantyCommercial($warr_commercial) { $this->warr_commercial = $warr_commercial; return $this; } public function getWarrantyCommercial() { return $this->warr_commercial; } public function setReserveCapacity($res_capacity) { $this->res_capacity = $res_capacity; return $this; } public function getReserveCapacity() { return $this->res_capacity; } public function setLength($length) { $this->length = $length; return $this; } public function getLength() { return $this->length; } public function setWidth($width) { $this->width = $width; return $this; } public function getWidth() { return $this->width; } public function setHeight($height) { $this->height = $height; return $this; } public function getHeight() { return $this->height; } public function setTotalHeight($total_height) { $this->total_height = $total_height; return $this; } public function getTotalHeight() { return $this->total_height; } public function setSellingPrice($sell_price) { $this->sell_price = $sell_price; return $this; } public function getSellingPrice() { return $this->sell_price; } public function addCustomerVehicle(CustomerVehicle $cust_vehicle) { $this->cust_vehicles->add($cust_vehicle); return $this; } public function clearCustomerVehicles() { $this->cust_vehicles->clear(); return $this; } public function getCustomerVehicles() { return $this->cust_vehicles; } public function setImageFile($image_file) { $this->image_file = $image_file; return $this; } public function getImageFile() { return $this->image_file; } }