createElement('HazMatPackageInformation'); if ($this->isAllPackedInOneIndicator()) { $node->appendChild($document->createElement('AllPackedInOneIndicator')); } if ($this->isOverPackedIndicator()) { $node->appendChild($document->createElement('OverPackedIndicator')); } if ($this->getQValue() !== null) { $node->appendChild($document->createElement('QValue', $this->getQValue())); } return $node; } /** * @return bool */ public function isAllPackedInOneIndicator() { return $this->allPackedInOneIndicator; } /** * @param bool $allPackedInOneIndicator */ public function setAllPackedInOneIndicator($allPackedInOneIndicator) { $this->allPackedInOneIndicator = $allPackedInOneIndicator; } /** * @return bool */ public function isOverPackedIndicator() { return $this->overPackedIndicator; } /** * @param bool $overPackedIndicator */ public function setOverPackedIndicator($overPackedIndicator) { $this->overPackedIndicator = $overPackedIndicator; } /** * @return string */ public function getQValue() { return $this->qValue; } /** * @param string $qValue */ public function setQValue($qValue) { $this->qValue = $qValue; } }