printerCounter = new ArrayCollection(); } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set name * * @param string $name * @return Printer */ public function setName($name) { $this->name = $name; return $this; } /** * Get name * * @return string */ public function getName() { return $this->name; } /** * Set description * * @param string $description * @return Printer */ public function setDescription($description) { $this->description = $description; return $this; } /** * Get description * * @return string */ public function getDescription() { return $this->description; } /** * Set communitySnmpPrinter * * @param string $communitySnmpPrinter * @return Printer */ public function setCommunitySnmpPrinter($communitySnmpPrinter) { $this->communitySnmpPrinter = $communitySnmpPrinter; return $this; } /** * Get communitySnmpPrinter * * @return string */ public function getCommunitySnmpPrinter() { return $this->communitySnmpPrinter; } /** * Set host * * @param string $host * @return Printer */ public function setHost($host) { $this->host = $host; return $this; } /** * Get host * * @return string */ public function getHost() { return $this->host; } /** * Set serie * * @param string $serie * @return Printer */ public function setSerie($serie) { $this->serie = $serie; return $this; } /** * Get serie * * @return string */ public function getSerie() { return $this->serie; } /** * Set local * * @param string $local * @return Printer */ public function setLocal($local) { $this->local = $local; return $this; } /** * Get local * * @return string */ public function getLocal() { return $this->local; } /** * Add printerCounter * * @param \Cocar\CocarBundle\Entity\PrinterCounter $printerCounter * @return Entity */ public function addPrinterCounter(\Swpb\Bundle\CocarBundle\Entity\PrinterCounter $printerCounter) { $this->printerCounter[] = $printerCounter; return $this; } /** * Remove printerCounter * * @param \Cocar\CocarBundle\Entity\PrinterCounter $printerCounter */ public function removePrinterCounter(\Swpb\Bundle\CocarBundle\Entity\PrinterCounter $printerCounter) { $this->printerCounter->removeElement($printerCounter); } /** * Get printerCounter * * @return \Doctrine\Common\Collections\Collection */ public function getPrinterCounter() { return $this->printerCounter; } }