Subsystem

StarUML

Subsystem

Top  Previous  Next

Semantics

Whereas a package is a generic mechanism for organizing model elements, a subsystem represents a behavioral unit in the physical system, and hence in the model.

Procedure for creating subsystem

In order to create subsystem,

1.Click [Toolbox] -> [Class] -> [Subsystem] button.

ch05_2001

2.And click at the location or boundary where subsystem will be placed in the [main window].

ch05_2002

3.Then a subsystem is created on the class diagram and subsystem quick dialog is opened. At the quick dialog, enter the subsystem name.

ch05_2003

4.And press [Enter] key to have done this procedure.

ch05_2004

Procedure for creating providing interface of subsystem.

In order to providing inteface of subsystem,

1.Create interface and susbystem.

ch05_2005

2.Click [Toolbox] -> [Realization] button.

ch05_2006

3.Drag from subsystem and drop to interface.

ch05_2007

4.Between interface and subsystem, providing interface relationship is created finally.

ch05_2008

In order to create interface and realization at once,

1.Double-click subsystem and subsystem quick dialog is opened.

ch05_2009

2.Enter text in the quick dialog as following

ch05_2010

3.Press [Enter] key and interface provided by subsystem is created .

ch05_2011

Procedure for creating requiring interface

In order to create requiring interface, use shortcut creation syntax.

1.Double-click subsystem. At the quick dialog, enter text as follows.

ch05_2012

2.Then subsystem connects to interface as requiring relationship.

ch05_2013

Procedure for adding operation to subsystem

Subsystem can have operation. In order to add operation to subsystem,

1.Select [Collection Editor...] popup menu.

ch05_2014

2.At the [collection editor], add operation on the [operations] tab.

ch05_2015

3.Or click ch05_2016 button at the quick dialog of subsystem.

ch05_2017

4.Then a new operation is created.

ch05_2018