setAttribute(REQUESTOUTPUTDATAMININGPARAM_ID, $id); } public function getId() { return $this->getAttribute(REQUESTOUTPUTDATAMININGPARAM_ID); } } /** * @class RequestOutputDataMiningNodeClass * @brief Definition of a request data mining output node for AMDA_Kernel * @details */ class RequestOutputDataMiningNodeClass extends NodeClass { public function __construct() { parent::__construct(REQUESTOUTPUTDATAMINING_NAME); } public function setTimeFormat($timeFormat) { $node = $this->getChildInstanceByName(REQUESTOUTPUTDATAMINING_TIMEFORMAT, true); $node->setValue($timeFormat); } public function setFileFormat($fileFormat) { $node = $this->getChildInstanceByName(REQUESTOUTPUTDATAMINING_FILEFORMAT, true); $node->setValue($fileFormat); } public function setStructure($structure) { $node = $this->getChildInstanceByName(REQUESTOUTPUTDATAMINING_STRUCTURE, true); $node->setValue($structure); } public function setFileName($fileName) { $node = $this->getChildInstanceByName(REQUESTOUTPUTDATAMINING_FILENAME, true); $node->setValue($fileName); } public function setParam($id) { $node = $this->getFirstChildByName(REQUESTOUTPUTDATAMININGPARAM_NAME); if (!$node) { $node = new RequestOutputDataMiningParamNodeClass(); $this->addChild($node); } $node->setId($id); } public function addPostProcessing($process) { $node = $this->getChildInstanceByName(REQUESTOUTPUTPOSTPROCESSING_NAME); if ($node == NULL) { $node = new RequestOutputPostProcessingNodeClass(); $this->addChild($node); } $node->addPostProcessing($process); } public function isPostProcessing($process) { $node = $this->getChildInstanceByName(REQUESTOUTPUTPOSTPROCESSING_NAME); if ($node == NULL) return false; return $node->isPostProcessing($process); } } ?>