Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 248584

Summary: Submachine state's isSimple property should be false.
Product: [Modeling] MDT.UML2 Reporter: James Bruck <bruck.james>
Component: CoreAssignee: James Bruck <bruck.james>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Kenn.Hussey
Version: 3.0.0Keywords: plan
Target Milestone: M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
update to StateOperations none

Description James Bruck CLA 2008-09-25 10:41:05 EDT
1. Create a Submachine State.
2. Look at the isSimple property.    

This should be false according to the spec:
p550.
A state with isSimple=true is said to be a simple state. A simple state does not have any regions ***and it does not refer
to any submachine state machine*** . 


However, the property is true.
Comment 1 James Bruck CLA 2008-09-25 11:06:45 EDT
Created attachment 113467 [details]
update to StateOperations

In addition, would have to update the version numbers and the comment in the source model for StateOperations.
Comment 2 Kenn Hussey CLA 2008-09-25 19:53:16 EDT
(In reply to comment #1)
> Created an attachment (id=113467) [details]
> update to StateOperations
> 
> In addition, would have to update the version numbers and the comment in the
> source model for StateOperations.
> 

I think you would also need to raise an issue against the specification to update the OCL (and description) for the constraint.
Comment 3 James Bruck CLA 2008-10-15 13:30:19 EDT
OMG issue 12915 has been raised to track the issue.
Comment 4 James Bruck CLA 2008-11-04 15:25:07 EST
verified 20081104