ParamInfoRequestDataClass.php 1.6 KB
<?php

/**
 * @class ParamInfoTypeEnumClass
 * @brief Enumerate for param info request type
 * @details
 */
abstract class ParamInfoTypeEnumClass
{
	const UNKNOWN  = "";
	const PLOTINIT = "plot_init";
	const IMPEXPLOTINIT = "impex_plot_init";
	const PARAMINFO = "param_info";
	const IMPEXINFO = "impex_param_info";
}

/**
 * @class ParamInfoRequestDataClass
 * @brief Data for a param info request
 * @details
 */
class ParamInfoRequestDataClass extends RequestDataClass
{
	private $filePath = "";
	private $paramId = "";
	private $templateInfo = NULL;
	private $type    = ParamInfoTypeEnumClass::UNKNOWN;
	private $result = NULL;
	private $internalPlotInit = NULL;

	public function getFilePath()
	{
		return $this->filePath;
	}

	public function setFilePath($filePath)
	{
		$this->filePath = $filePath;
	}

	public function setInternalPlotInit($plotInit)
	{
		$this->internalPlotInit = $plotInit;
	}

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

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

	public function setType($type)
	{
		$this->type = $type;
	}
	
	public function getResult()
	{
		return $this->result;
	}
	
	public function setResult($result)
	{
		$this->result = $result;
	}
	
	public function getParamId()
	{
		return $this->paramId;
	}
	
	public function setParamId($paramId)
	{
		$this->paramId = $paramId;
	}
	
	public function getTemplateInfo()
	{
		return $this->templateInfo;
	}
	
	public function setTemplateInfo($templateInfo)
	{
		$this->templateInfo = $templateInfo;
	}
}

?>