ParamGetAmdaParamNodeClass.php 725 Bytes
<?php

define ("PARAMGETAMDAPARAM_NAME", "amdaParam");
define ("PARAMGETAMDAPARAM_NAMEATT", "name");

/**
 * @class ParamGetAmdaParamNodeClass
 * @brief Definition of a amdaParam getter for AMDA_Kernel
 * @details
*/
class ParamGetAmdaParamNodeClass extends NodeClass
{
	public function __construct()
	{
		parent::__construct(PARAMGETAMDAPARAM_NAME);
	}

	public function setParamName($name)
	{
		$this->setAttribute(PARAMGETAMDAPARAM_NAMEATT, $name);
	}

	public function getParamName()
	{
		return $this->getAttribute(PARAMGETAMDAPARAM_NAMEATT);
	}
	
	public function loadFromNode($xmlNode)
	{
		$this->setParamName($this->getXmlNodeAttribute($xmlNode, PARAMGETAMDAPARAM_NAMEATT));
	}
}

?>