google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

not detecting correctly guards in state machine #656

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
consider the following example:

class X {
 boolean flag = false;
  status {
    on{
      trunOff [! getFlag()] -> off;
    }
    off{
      turnOn -> on;
    }
  }
}

There is a guard for the event "turnOff" which has "!". When Umple generates 
code, it doesn't pay attention to it.

Original issue reported on code.google.com by V.Abdel...@gmail.com on 20 Nov 2014 at 7:32

GoogleCodeExporter commented 9 years ago
See the ! in the event if clause.

Original comment by aforw...@gmail.com on 18 Jan 2015 at 8:03

Attachments: