Blame view

src/Request/ParamInfoRequestDataClass.php 1.65 KB
966bd5f8   Benjamin Renard   Add request to ge...
1
2
3
4
5
6
7
8
9
10
11
<?php

/**
 * @class ParamInfoTypeEnumClass
 * @brief Enumerate for param info request type
 * @details
 */
abstract class ParamInfoTypeEnumClass
{
	const UNKNOWN  = "";
	const PLOTINIT = "plot_init";
ffc5cb81   Elena.Budnik   temporary commit
12
	const IMPEXPLOTINIT = "impex_plot_init";
f28f7c0e   Benjamin Renard   Add param info re...
13
	const PARAMINFO = "param_info";
ffc5cb81   Elena.Budnik   temporary commit
14
	const IMPEXINFO = "impex_param_info";
8c88a193   Benjamin Renard   Predefined templa...
15
	const PARSETEMPLATEDPARAM = "parse_templated_param";
966bd5f8   Benjamin Renard   Add request to ge...
16
17
18
19
20
21
22
23
24
}

/**
 * @class ParamInfoRequestDataClass
 * @brief Data for a param info request
 * @details
 */
class ParamInfoRequestDataClass extends RequestDataClass
{
f28f7c0e   Benjamin Renard   Add param info re...
25
	private $filePath = "";
966bd5f8   Benjamin Renard   Add request to ge...
26
	private $paramId = "";
bf27ba04   Benjamin Renard   Add templated par...
27
	private $templateInfo = NULL;
966bd5f8   Benjamin Renard   Add request to ge...
28
	private $type    = ParamInfoTypeEnumClass::UNKNOWN;
f28f7c0e   Benjamin Renard   Add param info re...
29
	private $result = NULL;
dcdacd5c   Benjamin Renard   Fill plot type in...
30
	private $internalPlotInit = NULL;
966bd5f8   Benjamin Renard   Add request to ge...
31

f28f7c0e   Benjamin Renard   Add param info re...
32
	public function getFilePath()
966bd5f8   Benjamin Renard   Add request to ge...
33
	{
f28f7c0e   Benjamin Renard   Add param info re...
34
		return $this->filePath;
966bd5f8   Benjamin Renard   Add request to ge...
35
36
	}

f28f7c0e   Benjamin Renard   Add param info re...
37
	public function setFilePath($filePath)
966bd5f8   Benjamin Renard   Add request to ge...
38
	{
f28f7c0e   Benjamin Renard   Add param info re...
39
		$this->filePath = $filePath;
966bd5f8   Benjamin Renard   Add request to ge...
40
41
	}

dcdacd5c   Benjamin Renard   Fill plot type in...
42
43
44
45
46
47
48
49
50
51
	public function setInternalPlotInit($plotInit)
	{
		$this->internalPlotInit = $plotInit;
	}

	public function getInternalPlotInit()
	{
		return $this->internalPlotInit;
	}

966bd5f8   Benjamin Renard   Add request to ge...
52
53
54
55
56
57
58
59
60
61
	public function getType()
	{
		return $this->type;
	}

	public function setType($type)
	{
		$this->type = $type;
	}
	
f28f7c0e   Benjamin Renard   Add param info re...
62
	public function getResult()
966bd5f8   Benjamin Renard   Add request to ge...
63
	{
f28f7c0e   Benjamin Renard   Add param info re...
64
		return $this->result;
966bd5f8   Benjamin Renard   Add request to ge...
65
66
	}
	
f28f7c0e   Benjamin Renard   Add param info re...
67
	public function setResult($result)
966bd5f8   Benjamin Renard   Add request to ge...
68
	{
f28f7c0e   Benjamin Renard   Add param info re...
69
		$this->result = $result;
966bd5f8   Benjamin Renard   Add request to ge...
70
71
72
73
74
75
76
77
78
79
80
	}
	
	public function getParamId()
	{
		return $this->paramId;
	}
	
	public function setParamId($paramId)
	{
		$this->paramId = $paramId;
	}
bf27ba04   Benjamin Renard   Add templated par...
81
82
83
84
85
86
87
88
89
90
	
	public function getTemplateInfo()
	{
		return $this->templateInfo;
	}
	
	public function setTemplateInfo($templateInfo)
	{
		$this->templateInfo = $templateInfo;
	}
966bd5f8   Benjamin Renard   Add request to ge...
91
92
}

dcdacd5c   Benjamin Renard   Fill plot type in...
93
?>