RequestOutputPlotFillSerieConstantNodeClass.php 1007 Bytes
<?php

define ("REQUESTOUTPUTPLOTFILLSERIECONSTANT_NAME", "fillSerieConstant");
define ("REQUESTOUTPUTPLOTFILLSERIECONSTANT_SERIEID", "serieId");
define ("REQUESTOUTPUTPLOTFILLSERIECONSTANT_CONSTANTID", "constantId");

/**
 * @class RequestOutputPlotFillSerieConstantNodeClass
 * @brief Definition of fill serie/constant for a plot
 * @details
 */
class RequestOutputPlotFillSerieConstantNodeClass extends RequestOutputPlotFillNodeClass
{
	public function __construct()
	{
		parent::__construct(REQUESTOUTPUTPLOTFILLSERIECONSTANT_NAME);
	}
	
	public function setSerieId($id)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTFILLSERIECONSTANT_SERIEID, $id);
	}
	
	public function getSerieId()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTFILLSERIECONSTANT_SERIEID);
	}
	
	public function setConstantId($id)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTFILLSERIECONSTANT_CONSTANTID, $id);
	}
	
	public function getConstantId()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTFILLSERIECONSTANT_CONSTANTID);
	}
}

?>