Blame view

src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotFillSerieConstantNodeClass.php 1007 Bytes
bbe4d005   Benjamin Renard   Integration for f...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?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);
	}
}

?>