QPR Knowledge Base 2016.1

Interface Modeling Improvements (306428, 306538, 306507, 306537)

Interface Modeling Improvements (306428, 306538, 306507, 306537)

Previous topic Next topic No directory for this topic  

Interface Modeling Improvements (306428, 306538, 306507, 306537)

Previous topic Next topic Topic directory requires JavaScript Mail us feedback on this topic!  

The interface modeling functionality has received a number of improvements in QPR 2016.

 

Process Usage Information on Diagram Level

In the Graphical Properties, there is now an "Interface source and destination" field, with which interface elements can show the element to which the incoming (for input interfaces) or outgoing (for output interfaces) connector is connected. In addition, the diagram on which the element exists is shown, and the field supports having multiple values. When the "Interface source and destination" field is clicked in QPR Portal, the corresponding source or destination diagram is opened. In the picture below, the "Input interface element" exists on the diagram named "Diagram". There is an "Activity" element on the diagram named "Source diagram" from which a connector is connected to the "Input interface element".

interfaceshowsource

 

Connecting to an Interface without an Attached Interface Element

It is now possible to map connectors that are connected to the diagram into input and output interface elements that exist on the diagram. This way, the interface elements do not need to be attached to any other element, so they can be modeled as being part of the process like any other element. Using the interface mapping like this will also hide the incoming connector from the diagram. In the picture below, the connector going from the "Source diagram" element to the "Diagram" element is not shown on the "Input interface" element that exists on the "Diagram" level, because the "Diagram" level has the incoming connector mapped to the "Input interface" element.

 

interfacemapped

The mapping is done on the Interface Mapping tab of the diagram / subprocess element. It is also possible to create new Input and Output interfaces directly from the Interface Mapping tab.

interfacemappeddiagramproperties

 

See the 'Interface Mapping' topic in the QPR Modeling Client - User's Guide for more information.

 

Mapped Interfaces in the Navigator View

The mapped interfaces can be shown in the Navigator View in the "Mapped destination interface" and "Mapped source interface" columns. The "Mapped source interface" column shows, for connectors, the interface elements where the connector start is connected to, and "Mapped destination interface" column shows the interface elements where the connector end is connected to. In the picture below, the "Mapped destination interface" column has been added to a Custom Relation Hierarchy.

interfacemappednavigator

 

In the picture below, the "Mapped destination interface" column has been added to a Diagram Hierarchy.

interfacemappednavigator2

 

Mapped Interface Elements Available via QPR API and Web Service

The QPR API and Web Services now support the "MappedConnectors", "MappedSourceInterface", and "MappedDestinationInterface" properties for mapped interface elements. In addition, the QPR Web Service has the "MappedConnectors", "MappedSourceInterface", and "MappedDestinationInterface" relations available in queries.

 

See the QPR - Developer's Guide  'GetProperty', 'GetProperties', 'SetProperty', 'PG Object Functions', and 'Supported Attributes' topics for more information.