public function getName()
 {
     if (!$this->step) {
         return null;
     }
     return $this->step->getName();
 }
 public function addStep(Ezer_Step $step)
 {
     // overwrite any flow definition
     $step->in_flows = array();
     $step->out_flows = array();
     if (count($this->steps)) {
         throw new Ezer_SyntaxException('If object can contain only one step [' . $step->getName() . ']');
     }
     parent::addStep($step);
 }