public function setDesigner(Designer $designer){
		$this->designer=$designer;
		$this->designer->build($this);
	}
public function setDesigner(Designer $designer){
		$this->designer=$designer;
		$this->designer->build($this);
	}
Set designer with rule to generate fields

@param Designer $designer