InfoParamTableDefBoundsNodeClass.php 813 Bytes
<?php

define ("INFOPARAMTABLEDEFBOUNDS_TAGNAME", "boundsTable");
define ("INFOPARAMTABLEDEFBOUNDS_BOUNDSNAME", "boundsName");

/**
 * @class InfoParamTableDefBoundsNodeClass
 * @brief Definition of a bounds table
 * @details
 */
class InfoParamTableDefBoundsNodeClass extends InfoParamTableDefNodeClass
{
	public function __construct()
	{
		parent::__construct(INFOPARAMTABLEDEFBOUNDS_TAGNAME);
	}

	public function setBoundsName($boundsName)
	{
		$this->setAttribute(INFOPARAMTABLEDEFBOUNDS_BOUNDSNAME,$boundsName);
	}

	public function getBoundsName()
	{
		return $this->getAttribute(INFOPARAMTABLEDEFBOUNDS_BOUNDSNAME);
	}
	
	public function loadFromNode($xmlNode)
	{
		parent::loadFromNode($xmlNode);
		$this->setBoundsName($this->getXmlNodeAttribute($xmlNode, INFOPARAMTABLEDEFBOUNDS_BOUNDSNAME));
	}
}

?>