From 48fb0b61bfd771ba24da8e3ae0da390c2260d29a Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 1 Dec 2014 14:07:30 +0100 Subject: [PATCH] BusinessProcess: knows it's own name --- library/Businessprocess/BusinessProcess.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/library/Businessprocess/BusinessProcess.php b/library/Businessprocess/BusinessProcess.php index be89b3f..da85271 100644 --- a/library/Businessprocess/BusinessProcess.php +++ b/library/Businessprocess/BusinessProcess.php @@ -10,6 +10,7 @@ class BusinessProcess const HARD_STATE = 1; protected $ido; protected $filename; + protected $name; protected $bps; protected $state_type = self::HARD_STATE; protected $warnings = array(); @@ -25,6 +26,17 @@ class BusinessProcess { } + public function setName($name) + { + $this->name = $name; + return $this; + } + + public function getName() + { + return $this->name; + } + public function hasBeenChanged() { return false;