Interface block (SysML item)
Interface Blocks are a specialization of Blocks that do not have behaviors or internal parts. Interface Blocks are used to type Proxy Ports and Block Properties.
Create an Interface Block in the following ways:
In a Modeler pane, right-click the Model or Package that is to own the Interface Block, point to New, point to SysML, point to Structure, and then click Interface Block.
In a Modeler pane, right-click the Block that is to own the Interface Block, point to New, point to SysML, and then click Interface Block.
On a Block Definition Diagram, click the
Interface Block button, and then click the diagram background.
An Interface Block can own Interface Properties: to create an Interface Property, right-click the Interface Block, point to New, point to SysML, and then click Interface Properties.
To specify that an Interface Block is abstract: set the tagged value of the isAbstract tag definition to TRUE.
To specify that an Interface Block is encapsulated: set the tagged value of the isEncapsulated tag definition to TRUE.
When shown on a Block Definition Diagram, an Interface Block's notation is as follows.
To populate a Block Definition Diagram with Interface Blocks that are in the same Package as the diagram: on the diagram, right-click in free space, point to Populate, point to Nodes, and then click Interface Blocks.
You can right-click an Interface Block on a Block Definition Diagram, and through the commands on the Populate submenu, populate missing relationships that exist between the Interface Block and other items.
An Interface Block is a UML Class that is stereotyped by the «InterfaceBlock» stereotype from the SysML profile.
The following sections provide information about how an Interface Block is used in the model. For more information about a SysML diagram or item - click it.
Owned by
Model (UML item)
Package (UML item)
Owns
Allocate - the Allocate is owned jointly by the Interface Block and the associated item. The access permissions you have to an Allocate are determined by the access permissions you have to the item that is allocated from - you require write access to both items to create or delete an Allocate.
Association (UML item) - the Association is owned jointly by the Block and the associated item. The access permissions you have to an Association are determined by the access permissions you have to the item at the start end of the Association.
Item Flow - when the Interface Block is used as the Item Flow's conveyed classifier (deleting the Interface Block results in the Item Flow being deleted).
Refine (UML Standard profile) - the Refine relationship is owned jointly by the Interface Block and the associated item. The access permissions you have to a Refine relationship are determined by the access permissions you have to the refined item.
Satisfy - the Satisfy relationship is owned jointly by the Interface Block and the associated Requirement. The access permissions you have to a Satisfy relationship are determined by the access permissions you have to the Block.
Trace (UML Standard profile) - the Trace relationship is owned jointly by the Interface Block and the associated item. The access permissions you have to a Trace relationship are determined by the access permissions you have to the item that is traced from.
Verify - the Verify relationship is owned jointly by the Interface Block and the associated Requirement. The access permissions you have to a Verify relationship are determined by the access permissions you have to the Interface Block.
Shown on these diagrams
SysML Properties
• allocatedFrom - lists source items that are linked through Allocate relationships (on Allocated tab when item is allocated).
• allocatedTo - lists target items that are linked through Allocate relationships (on Allocated tab when item is allocated).
• constraintProperties - lists Constraint Properties that the Interface Block owns.
• constraints - lists Constraints that the Interface Block owns.
• flowPorts - lists Flow Ports that the Interface Block owns.
• flowProperties - lists Flow Properties that the Interface Block owns.
• fullPorts - lists Full Ports that the Interface Block owns.
• isEncapsulated - can be set to TRUE or FALSE.
• participants - lists Participants that the Interface Block owns.
• parts - lists Blocks Properties of type Part that the Interface Block owns.
• proxyPorts - lists Proxy Ports that the Interface Block owns.
• references - lists Blocks Properties of type Reference that the Interface Block owns.
• standardPorts - lists UML Ports that the Interface Block owns.
• values - lists Blocks Properties of type Value that the Interface Block owns.