Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published in advance of BRIDGE_7.3.1
Div
Classe2e-refDiv

Otp
Floatingfalse

Rp

Children Display
pageModeling Guidelines

Introduction

E2E The Builder provides several documentation features to support different kinds of users:

  • modelers who want to modify the service and need a quick overview on the service's use cases, backend access and data structures
  • service consumers who want to call the service and need information on the service interface
  • Bridge operators who need a basic understanding of the service's purpose and features.

For these documentation purposes, E2E the Builder offers the possibility to add documentation and comment tags to model elements.

...

Lookup the element you want to add documentation to in the containment tree or diagram and open the specification dialog by right-clicking the element and selecting Specification from the context menu.

Image Modified
Click Documentation/Hyperlinks and start typing in the documentation field.
Image Modified
By checking HTML, you can also insert HTML formatted documentation.
Image Modified
By clicking Image Modified, you can open an advanced HTML editor that has more formatting options and also allows to edit the HTML directly.

How to Add Comment Tags

Lookup the element you want to add a comment to in the containment tree and select Create Element > Comment from the context menu. Simply start typing to add the comment. Comments can be plain text only.

...

  • provide an overview on what the service does by drawing a use case diagram
  • show the main data structures and relations by drawing a class diagram
  • give an overview on the main backend processing by drawing a sequence diagram
  • provide a change log in the xml file , if you are not using a version control systemthat is displayed on the Bridge

Use Case Diagram

Draw a simple use case diagram describing the main actors and main processing in a package called e.g. Use Cases.

...

We also recommend to make the documentation that previously has been added to the Data package visible by adding it to this diagram.
You can do this as follows:

Image Modified
Go to the specification dialog of the Data package and select the documentation element.
Image Modified
Drag and drop it to the diagram pane.

You can define to not display stereotype <<documentation>> (like shown above) via the symbol properties from the context menu.

...

Draw a sequence diagram to give an overview on the main backend processing.

Change Log

If you do not use a version control system, keep Keep a change log table in package Use Cases, e.g. on Overview. The Builder templates already provide a simple change log table in a use case diagram called Change Log Overview.

...

Image Added

All information provided here will be visible in the service documentation on the Bridge for Bridge operators to see (see Service Documentation for Bridge Operators below).

If this default change log table does not suit your needs, you can change it for dedicated models, or you can change the template itself. By changing the template, you can get consistent change logs throughout all services.
To edit the template, open file <your user directory>/.e2ebuilder/modelDocumentationTemplate.html with an editor. This file contains the HTML layout of the change log table:

Code Block
languagexml
<html>
    <head>
    </head>
    <body>
        
<h2>Change Log</h2>
        
<table class="table">
            
<tr>
                
<th>Date</th>
                
<th>Author</th>
                
<th>Version</th>
                
<th>Implementation</th>
                
<th>Note</th>
            </tr>
            
<tr>
                
<td></td>
                
<td></td>
                
<td></td>
                
<td></td>
                
<td></td>
            </tr>
        </table>
    </body>
</html>

Change the table or adorn the HTML with styling as you need.

...

Class Diagram

Draw class diagrams for the main structures in dedicated packages (see Containment Tree Organization).

...

Like with all other model elements, you can also add documentation to the Data package. This documentation will be available for reading and editing on the E2E Bridge.
See Documentation of an xUML Service for more information on that feature.

If service modelers provided a change log table with their deployed services, this change log will be visible in the Model Notes section of the Documentation tab.

Image Added