Book a Demo

Author Topic: Display rolename behind '/'  (Read 2345 times)

LLE

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Display rolename behind '/'
« on: February 01, 2014, 11:02:04 pm »
Hallo,

using the model wizard to generate a SysML 1.3 model generates several diagrams. In the internal block diagrams the properties of the blocks dispay in the form

name1 /name2
e.g.  subsystem1 /Sub Block 1.

A SysML internal block diagram is similar to a UML composite structure diagram.
Note that name2 is not the type of the property, which can be displayed in addition with right click > Advanced > Show element type:

subsystem1 /Sub Block 1 : Sub Block 1

But the name displayed is that of the propeerties type. So there is definitely a connection to the type. Also if I change the name of the type, e.g. to Sub Block X, the displayed name changes too

subsystem1 /Sub Block X : Sub Block X

But changing the type of the property is possible

subsystem1 /Sub Block X : Sub Block 2

When I add a new property no name2  is displayed

property1 : Sub Block 1


Does somebody know where name2, i.e. the name behind the slash (/) comes from and how it can be changed? Is it the rolename?



Thank you very much

LLe





The SysML Spec seems not to mention this syntax

The UML Superstructure document  states (9.3.14 StructuredClassifier):

The namestring of a role in an instance specification obeys the following syntax

{<name> [‘/’ <rolename>] | ‘/’ <rolename>} [‘:’ <classifiername> [‘,’ <classifiername>]*]

But the examples there refer to instances and are displayed with an underline.

« Last Edit: February 01, 2014, 11:04:10 pm by LLE »