public function appliesTo(BusinessProcess $bp)
 {
     $name = $this->getNodeName();
     if (!$bp->hasNode($name)) {
         return false;
     }
     $node = $bp->getNode($name);
     foreach ($this->properties as $key => $val) {
         $func = 'get' . ucfirst($key);
         if ($this->formerProperties[$key] !== $node->{$func}()) {
             return false;
         }
     }
     return true;
 }
 public function appliesTo(BusinessProcess $bp)
 {
     return !$bp->hasNode($this->getNodeName());
 }