Realization Relationships

A realization is a relationship that exists between two model elements when one of them must realize, or implement, the behavior specified by the other. In the realization relationship, the model element that specifies the behavior is considered the supplier, and the model element that implements the behavior is considered the consumer.

For example, you could model a realization that connects an interface that specifies the behaviors of a credit card scanner to the subsystem that implements the behaviors. You could also model a realization that connects a use case that specifies behaviors for a system to the collaboration instance that shows how the behaviors are implemented.


Connector

A realization appears in one of two styles, depending on the shape of the supplier model element. If the supplier is an interface that appears as a small circle, the realization connector appears as a solid line. Otherwise, the realization appears as a dashed line with an unfilled arrowhead. The realization points from the consumer shape (realizing the behavior) to the supplier shape (specifying the behavior). The correct line style is automatically created.

Realization Using a Solid Line

 

Realization Using a Dashed Line with an Arrow Connector

 


Using Realization Relationships

Frequently modeled realizations include those between interfaces and classifiers (for example, classes, components, subsystems) and those between use cases and collaborations. When a component or subsystem realizes an interface, the operations are usually available only through the interface.

You can add realization relationships to your model to indicate the following:

The realization relationships in a model usually appear in class and component diagrams.


Naming Conventions

Realization relationships usually do not have names. If you name a realization, the name is displayed next to the realization connector on the diagram.


Related Topics



Comments ( )
<00>  <01>  <02>  <03>  <04>  <05>  <06>  <07>  <08>  <09>  <10>  <11>  <12>  <13>  <14>  <15>  <16>  <17>  <18>  <19>  <20>  <21>  <22>  <23
Link to this page: //www.vb-net.com/dotnet/relation/Realization.htm
<SITEMAP>  <MVC>  <ASP>  <NET>  <DATA>  <KIOSK>  <FLEX>  <SQL>  <NOTES>  <LINUX>  <MONO>  <FREEWARE>  <DOCS>  <ENG>  <CHAT ME>  <ABOUT ME>  < THANKS ME>