setAttribute(REQUESTOUTPUTPLOTINSTANTSERIE_YAXIS, $axisId); } public function getYAxisId() { return $this->getAttribute(REQUESTOUTPUTPLOTINSTANTSERIE_YAXIS); } public function setXAxisId($axisId) { $this->setAttribute(REQUESTOUTPUTPLOTINSTANTSERIE_XAXIS, $axisId); } public function getXAxisId() { return $this->getAttribute(REQUESTOUTPUTPLOTINSTANTSERIE_XAXIS); } public function setTableOnXAxis($tableOnX) { $this->setAttribute(REQUESTOUTPUTPLOTINSTANTSERIE_TABLEONXAXIS, $tableOnX); } public function getTableOnXAxis() { return $this->getAttribute(REQUESTOUTPUTPLOTINSTANTSERIE_TABLEONXAXIS); } public function getLine() { $node = $this->getFirstChildByName(REQUESTOUTPUTPLOTINSTANTSERIE_LINE); if (!isset($node)) { $node = new RequestOutputPlotLineNodeClass(REQUESTOUTPUTPLOTINSTANTSERIE_LINE); $this->addChild($node); } return $node; } public function getSymbol() { $node = $this->getFirstChildByName(REQUESTOUTPUTPLOTINSTANTSERIE_SYMBOL); if (!isset($node)) { $node = new RequestOutputPlotSymbolNodeClass(REQUESTOUTPUTPLOTINSTANTSERIE_SYMBOL); $this->addChild($node); } return $node; } public function loadFromNode($xmlNode) { $this->setYAxisId($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTINSTANTSERIE_YAXIS)); $this->setXAxisId($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTINSTANTSERIE_XAXIS)); $this->setTableOnXAxis($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTINSTANTSERIE_TABLEONXAXIS)); $lineXmlNode = $this->getXmlNodeChildByTagName($xmlNode, REQUESTOUTPUTPLOTINSTANTSERIE_LINE); if (isset($lineXmlNode)) $this->getLine()->loadFromNode($lineXmlNode); $symbolXmlNode = $this->getXmlNodeChildByTagName($xmlNode, REQUESTOUTPUTPLOTINSTANTSERIE_SYMBOL); if (isset($symbolXmlNode)) $this->getSymbol()->loadFromNode($symbolXmlNode); } } ?>