value = $value; $this->type = $type; $this->primary = $primary; } public function getValue() { return $this->value; } public function setValue($value) { $this->value = $value; } public function getType() { return $this->type; } public function setType($type) { $this->type = $type; } public function getPrimary() { return $this->primary; } public function setPrimary($primary) { $this->primary = $primary ? true : null; } public function getPrimarySubValue() { return $this->getValue(); } }