setType($type); } /** * Get type. * * @return string */ public function getType() { return $this->type; } /** * Set type. * * @param string $value * * @return self */ public function setType($value) { $enum = ['plainText', 'comboBox', 'dropDownList', 'date']; $this->type = $this->setEnumVal($value, $enum, 'comboBox'); return $this; } /** * Get value. * * @return null|bool|int|string */ public function getValue() { return $this->value; } /** * Set value. * * @param null|bool|int|string $value * * @return self */ public function setValue($value) { $this->value = $value; return $this; } /** * Get listItems. * * @return array */ public function getListItems() { return $this->listItems; } /** * Set listItems. * * @param array $value * * @return self */ public function setListItems($value) { $this->listItems = $value; return $this; } /** * Get tag. * * @return string */ public function getTag() { return $this->tag; } /** * Set tag. * * @param string $tag * * @return self */ public function setTag($tag) { $this->tag = $tag; return $this; } /** * Get alias. * * @return string */ public function getAlias() { return $this->alias; } /** * Set alias. * * @param string $alias * * @return self */ public function setAlias($alias) { $this->alias = $alias; return $this; } }