id; } /** * @param int|null $id * @return Attribute */ public function setId($id) { $this->id = $id; return $this; } /** * @return int|null */ public function getGroupId() { return $this->groupId; } /** * @param int|null $groupId * @return Attribute */ public function setGroupId($groupId) { $this->groupId = $groupId; return $this; } /** * @return string|null */ public function getName() { return $this->name; } /** * @param string|null $name * @return Attribute */ public function setName($name) { $this->name = $name; return $this; } /** * @return string|null */ public function getDescription() { return $this->description; } /** * @param string|null $description * @return Attribute */ public function setDescription($description) { $this->description = $description; return $this; } /** * @return string|null */ public function getPreviewValue() { return $this->previewValue; } /** * @param string|null $previewValue * @return Attribute */ public function setPreviewValue($previewValue) { $this->previewValue = $previewValue; return $this; } /** * @return string|null */ public function getDefaultValue() { return $this->defaultValue; } /** * @param string|null $defaultValue * @return Attribute */ public function setDefaultValue($defaultValue) { $this->defaultValue = $defaultValue; return $this; } /** * @return string|null */ public function getType() { return $this->type; } /** * @param string|null $type * @return Attribute */ public function setType($type) { $this->type = $type; return $this; } /** * @return string|null */ public function getTag() { return $this->tag; } /** * @param string|null $tag * @return Attribute */ public function setTag($tag) { $this->tag = $tag; return $this; } /** * @return bool */ public function isGlobal() { return !!$this->isGlobal; } /** * @param bool $isGlobal * @return Attribute */ public function setIsGlobal($isGlobal) { $this->isGlobal = $isGlobal; return $this; } }