Skip to content

Replace deprecated FlowPort

"To convert a SysML 1.2 flow port to ports in this version of SysML it is recommended to use the following guidelines:

  1. Decide if the port should be converted to a proxy port, a full port, or an unstereotyped port.
  2. Based on the decision in step 1, create a block (for proxy ports, it shall be an interface block specifically).
  3. If the original flow port is non-atomic:
    • a. Copy all the flow properties owned by the flow port's type, a flow specification, to the block created in step 2 (meaning the flow properties will be owned by the newly created block).
    • b. Replace the type of the port with the block created in step 2.
    • c. Remove the flow port stereotype from the port.
    • d. Based on the decision in step 1, apply the ProxyPort or FullPort stereotype, or do nothing if the decision is not to use either one.
    • e. If the proxy stereotype is applied in step 3d, and there is a single connector from the port to a part, the BindingConnector may be applied to the connector. f. If the flow specification is not referenced by other model elements, delete it.
  4. If the original flow port is atomic:
    • a. On the block created in step 2, specify a flow property typed by the same type as the flow port and with the same direction as the original flow port.
    • b. Do steps b to d from step 3 about non-atomic flow ports."

See https://www.eclipse.org/forums/index.php/m/1851242/#msg_1851242