Blame view

src/Request/ParamInfoRequestDataClass.php 1.38 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";
966bd5f8   Benjamin Renard   Add request to ge...
15
16
17
18
19
20
21
22
23
}

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

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

f28f7c0e   Benjamin Renard   Add param info re...
35
	public function setFilePath($filePath)
966bd5f8   Benjamin Renard   Add request to ge...
36
	{
f28f7c0e   Benjamin Renard   Add param info re...
37
		$this->filePath = $filePath;
966bd5f8   Benjamin Renard   Add request to ge...
38
39
40
41
42
43
44
45
46
47
48
49
	}

	public function getType()
	{
		return $this->type;
	}

	public function setType($type)
	{
		$this->type = $type;
	}
	
f28f7c0e   Benjamin Renard   Add param info re...
50
	public function getResult()
966bd5f8   Benjamin Renard   Add request to ge...
51
	{
f28f7c0e   Benjamin Renard   Add param info re...
52
		return $this->result;
966bd5f8   Benjamin Renard   Add request to ge...
53
54
	}
	
f28f7c0e   Benjamin Renard   Add param info re...
55
	public function setResult($result)
966bd5f8   Benjamin Renard   Add request to ge...
56
	{
f28f7c0e   Benjamin Renard   Add param info re...
57
		$this->result = $result;
966bd5f8   Benjamin Renard   Add request to ge...
58
59
60
61
62
63
64
65
66
67
68
	}
	
	public function getParamId()
	{
		return $this->paramId;
	}
	
	public function setParamId($paramId)
	{
		$this->paramId = $paramId;
	}
bf27ba04   Benjamin Renard   Add templated par...
69
70
71
72
73
74
75
76
77
78
	
	public function getTemplateInfo()
	{
		return $this->templateInfo;
	}
	
	public function setTemplateInfo($templateInfo)
	{
		$this->templateInfo = $templateInfo;
	}
966bd5f8   Benjamin Renard   Add request to ge...
79
80
81
}

?>