Port Properties

To view or edit a port's properties, double-click its diagram symbol or Browser or list entry. The property sheet tabs and fields listed here are those available by default, before any customization of the interface by you or an administrator.

The General tab contains the following properties:

Property

Description

Parent

Specifies the parent classifier.

Name/Code/Comment

Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is generated from the name by applying the naming conventions specified in the model options. To decouple name-code synchronization, click to release the = button to the right of the Code field.

Stereotype

Extends the semantics of the object beyond the core UML definition. You can enter a stereotype directly in this field, or add stereotypes to the list by specifying them in an extension file.

Visibility

Specifies the visibility of the object, how it is seen outside its enclosing namespace. You can choose between:

  • Private – only to the object itself

  • Protected – only to the object and its inherited objects

  • Package – to all objects contained within the same package

  • Public – (default) to all objects

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:

  • * – none to unlimited

  • 0..* – zero to unlimited

  • 0..1 – zero or one

  • 1..* – one to unlimited

  • 1..1 – exactly one

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.

Keywords

Provide a way of loosely grouping objects through tagging. To enter multiple keywords, separate them with commas.