You can modify an object's properties from its property sheet. To open a port property sheet, double-click its diagram symbol or Browser entry. The following sections detail the property sheet tabs that contain the properties most commonly entered for ports.
Property |
Description |
---|---|
Parent |
Specifies the parent classifier. |
Name |
Specifies the name of the item, which should be clear and meaningful, and should convey the item's purpose to non-technical users. |
Code |
Specifies the technical name of the object, which is used for generating code or scripts. |
Comment |
Descriptive comment for the object. |
Stereotype |
Extends the semantics of the object beyond the core UML definition. |
Visibility |
Specifies the visibility of the object, how it is seen outside its enclosing namespace. You can choose between: |
Data type |
Specifies a classifier as a data type. |
Multiplicity |
Specifies the number of instances of the port. If the multiplicity is a range of values, it means that the number of ports can vary at run time. You can choose between: |
Redefines |
A port may be redefined when its containing classifier is specialized. The redefining port may have additional interfaces to those that are associated with the redefined port or it may replace an interface by one of its subtypes. |
Is Service |
Specifies that this port is used to provide the published functionality of a classifier (default). If this property is cleared, the port is used to implement the classifier but is not part of the essential externally-visible functionality of the classifier. It can, therefore, be altered or deleted along with the internal implementation of the classifier and other properties that are considered part of its implementation. |
Is Behavior |
Specifies that the port is a "behavior port", and that requests arriving at this port are sent to the classifier behavior of the classifier. Any invocation of a behavioral feature targeted at a behavior port will be handled by the instance of the owning classifier itself, rather than by any instances that this classifier may contain. |