Blame view

src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotYSerieNodeClass.php 1.17 KB
22521f1c   Benjamin Renard   First commit
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
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php

define ("REQUESTOUTPUTPLOTYSERIE_XYPLOT_NAME", "yserie");
define ("REQUESTOUTPUTPLOTYSERIE_TIMEPLOT_NAME", "serie");

define ("REQUESTOUTPUTPLOTYSERIE_YAXIS", "yAxis");
define ("REQUESTOUTPUTPLOTYSERIE_XAXIS", "xAxis");
define ("REQUESTOUTPUTPLOTYSERIE_INDEX", "index");

/**
 * @class RequestOutputPlotYSerieNodeClass
 * @brief Definition of a yserie for a plot of a plot request
 * @details
*/
class RequestOutputPlotYSerieNodeClass extends NodeClass
{
	public function __construct($name)
	{
		parent::__construct($name);
	}

	public function setYAxisId($axisId)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTYSERIE_YAXIS, $axisId);
	}

	public function getYAxisId()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTYSERIE_YAXIS);
	}

	public function setXAxisId($axisId)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTYSERIE_XAXIS, $axisId);
	}

	public function getXAxisId()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTYSERIE_XAXIS);
	}

	public function setIndex($index)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTYSERIE_INDEX, $index);
	}

	public function getIndex()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTYSERIE_INDEX);
	}
}

?>