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

Bug 327460

Summary: [SysML Block Definition Diagram] Block: Allow to add only valid content in the Part Compartment
Product: [Modeling] Papyrus Reporter: Tatiana Fesenko <tatiana.fesenko>
Component: CoreAssignee: Tatiana Fesenko <tatiana.fesenko>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 330182    

Description Tatiana Fesenko CLA 2010-10-11 11:38:49 EDT
In accordance SysML Spec, 8.3.2.2:
"A property typed by a SysML Block that has composite aggregation is classified as a part property, except for the special case of a constraint 
property... A property typed by a SysML ValueType is classified as a value property,..."
So a part property should have composite aggregation and should not allow ValueType to be its type
Now Part compartment allows any kind of element that can be owned by Block, including comments and ports
Comment 1 Tatiana Fesenko CLA 2010-10-15 04:53:39 EDT
I introduced a specialization type for Part in revision 2948
Comment 2 Yann Tanguy CLA 2010-10-15 05:17:22 EDT
SysML specialization types should be declared in oep.sysml.service.types (which itself specializes UML element types from oep.uml.service.types).
Comment 3 Tatiana Fesenko CLA 2011-03-11 10:24:27 EST
Fixed