Book a Demo

Author Topic: EA 9 beta 1, UML 2.3, and SysML 1.2 ports  (Read 4439 times)

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
EA 9 beta 1, UML 2.3, and SysML 1.2 ports
« on: March 12, 2011, 06:18:44 am »
UML 2.3 defines the following properties (custom properties in EA) for ports:

UML 2.3 spec (Superstructure), 9.3.11
Quote
Attributes
• isService: Boolean
If true, indicates that this port is used to provide the published functionality of a classifier. If false, this port is used to implement the classifier but is not part of the essential externally-visible functionality of the classifier and can, therefore, be altered or deleted along with the internal implementation of the classifier and other properties that are considered part of its implementation. The default value for this attribute is true.
• isBehavior: Boolean
Specifies whether requests arriving at this port are sent to the classifier behavior of this classifier (see “BehavioredClassifier (from BasicBehaviors, Communications)” on page 448). Such ports are referred to as behavior port. Any invocation of a behavioral feature targeted at a behavior port will be handled by the instance of the owning classifier itself, rather than by any instances that this classifier may contain. The default value is false.
• isConjugated: Boolean
Specifies the way that the provided and required interfaces are  derived from the Port’s Type. The default value is false.
These properties are inherited by SysML 1.2 ports. Also, use of "isConjugated" and "isAtomic" as tagged values (from UML SysML 1.1) is deprecated; as a result, EA SysML 1.2 no longer provides these tags. However, EA does not implement the custom property "isConjugated," as specified by UML 2.3 and SysML 1.2. In addition, the requirement to show a tilde (~) in front of the name type of a conjugated port isn't implemented:

UML 2.3 spec (Superstructure), 9.3.11
Quote
The type of a port may be shown following the port name, separated by colon (“:”). When isConjugated is true for the port, the type of the port is shown with a tilde “~” prepended. (emphasis mine)
EA does not correctly implement UML 2.3 or SysML 1.2 in this area. As it now stands, the only way to indicate port conjugation is to use the deprecated tagged value, resulting in a shaded port (also deprecated).
« Last Edit: March 12, 2011, 06:19:59 am by fwoolz »
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


AlanT

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
    • View Profile
Re: EA 9 beta 1, UML 2.3, and SysML 1.2 ports
« Reply #1 on: April 18, 2011, 02:38:36 am »
I am really surprised that no one at Sparx has replied to you on this issue.  It makes me very reluctant to try version 9. . . .

                          Alan

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: EA 9 beta 1, UML 2.3, and SysML 1.2 ports
« Reply #2 on: April 18, 2011, 09:55:35 am »
Quote
I am really surprised that no one at Sparx has replied to you on this issue.
This is a user forum, so you shouldn't expect to see a Sparx reply in every thread. However, Fred also reported a bug through official channels, we fixed it, and we e-mailed him to let him know it was fixed. The fix made it into EA 9.0.901 beta 2.
The Sparx Team
[email protected]

AlanT

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
    • View Profile
Re: EA 9 beta 1, UML 2.3, and SysML 1.2 ports
« Reply #3 on: April 18, 2011, 10:30:11 am »
Perhaps it would be a good idea for Sparx to post that information here, since other users are interested.